refactor: rename modules folder

This commit is contained in:
Mohammad Rafiq 2025-04-10 16:28:33 +08:00
parent f082ed8ac0
commit 2a80ef07bf
No known key found for this signature in database
69 changed files with 16 additions and 16 deletions

View file

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Before After
Before After

View file

@ -20,16 +20,16 @@
}; };
inherit (inputs.nixpkgs) lib; inherit (inputs.nixpkgs) lib;
commonModules = [ commonModules = [
./modules/boot.nix ./configs/boot.nix
./modules/nix-config.nix ./configs/nix-config.nix
./modules/security.nix ./configs/security.nix
./modules/users.nix ./configs/users.nix
./modules/networking.nix ./configs/networking.nix
./modules/shell.nix ./configs/shell.nix
./modules/programs/stylix.nix ./configs/programs/stylix.nix
]; ];
graphicalModules = [ graphicalModules = [
./modules/graphical.nix ./configs/graphical.nix
]; ];
in in
inputs.nixpkgs.lib.nixosSystem { inputs.nixpkgs.lib.nixosSystem {
@ -39,17 +39,17 @@
++ lib.optionals (type == "graphical") graphicalModules ++ lib.optionals (type == "graphical") graphicalModules
# Options for specific hostnames. # Options for specific hostnames.
++ (lib.optionals (hostname == "nemesis") [ ++ (lib.optionals (hostname == "nemesis") [
./modules/bootloaders/systemd-boot.nix ./configs/bootloaders/systemd-boot.nix
./modules/filesystems/hw-nemesis.nix ./configs/filesystems/hw-nemesis.nix
./modules/hardware/cpu_amd.nix ./configs/hardware/cpu_amd.nix
./modules/hardware/nvidia.nix ./configs/hardware/nvidia.nix
inputs.nixos-hardware.nixosModules.gigabyte-b650 inputs.nixos-hardware.nixosModules.gigabyte-b650
]) ])
++ (lib.optionals (hostname == "apollo") [ ++ (lib.optionals (hostname == "apollo") [
./modules/bootloaders/systemd-boot.nix ./configs/bootloaders/systemd-boot.nix
./modules/filesystems/impermanence.nix ./configs/filesystems/impermanence.nix
./modules/hardware/cpu_intel.nix ./configs/hardware/cpu_intel.nix
./modules/services.nix ./configs/services.nix
]); ]);
}; };
}; };