2024-11-21 22:31:12 -07:00
|
|
|
{
|
|
|
|
description = "NixOS Configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
# General NixOS config
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
# NixOS Grub Themes (hyperfluent)
|
|
|
|
nixos-grub-themes = {
|
|
|
|
url = "github:jeslie0/nixos-grub-themes";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
# SDDM Sugar Candy
|
|
|
|
sddm-sugar-candy-nix = {
|
2024-11-21 22:32:17 -07:00
|
|
|
url = "github:Zhaith-Izaliel/sddm-sugar-candy-nix";
|
2024-11-21 22:31:12 -07:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
# Home Manager + Plasma
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
plasma-manager = {
|
|
|
|
url = "github:nix-community/plasma-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.home-manager.follows = "home-manager";
|
|
|
|
};
|
|
|
|
# Firefox Nightly + Addons
|
|
|
|
firefox-nightly = {
|
|
|
|
url = "github:nix-community/flake-firefox-nightly";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
firefox-addons = {
|
|
|
|
type = "gitlab";
|
|
|
|
owner = "rycee";
|
|
|
|
repo = "nur-expressions";
|
|
|
|
dir = "/pkgs/firefox-addons";
|
|
|
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
# VSCode extensions
|
|
|
|
vscode-extensions = {
|
|
|
|
url = "github:nix-community/nix-vscode-extensions";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs@{ nixpkgs, home-manager, sddm-sugar-candy-nix, ... }: {
|
|
|
|
nixosConfigurations.ty-nixos = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
|
|
|
modules = [
|
|
|
|
|
|
|
|
# Import legacy configuration
|
|
|
|
./configuration.nix
|
|
|
|
|
|
|
|
# Home manager
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
./home-manager
|
|
|
|
];
|
|
|
|
|
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
system = "x86_64-linux";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|