Moved modules into a new Modules subdirectory. Started config of install.sh script. Moved home manager config out of flake.
This commit is contained in:
17
flake.nix
17
flake.nix
@ -49,26 +49,13 @@
|
||||
nixos = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs username version;
|
||||
inherit inputs username version system;
|
||||
};
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./firefox.nix
|
||||
./boot-splash.nix
|
||||
./zsh.nix
|
||||
./neovim.nix
|
||||
./packages.nix
|
||||
./modules
|
||||
grub2-themes.nixosModules.default
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
stylix.nixosModules.stylix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.${username} = ./home.nix;
|
||||
home-manager.backupFileExtension = "backup"; # Automatically backs up conflicting files during activation
|
||||
home-manager.extraSpecialArgs = { inherit inputs username version; system = "x86_64-linux"; };
|
||||
}
|
||||
#Conditional Modules!
|
||||
] ++ (if hyprlandEnabled then [ ./hyprland/hyprland.nix ] else [ ]) ++ [
|
||||
] ++ (if plasmaEnabled then [ ./plasma/plasma.nix ] else [ ]) ++ [
|
||||
|
||||
Reference in New Issue
Block a user