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:
2025-11-21 16:32:49 +01:00
parent ea197269fa
commit 3bc1d1e246
19 changed files with 759 additions and 56 deletions

View File

@ -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 [ ]) ++ [