refactor: rename modules folder
This commit is contained in:
parent
f082ed8ac0
commit
2a80ef07bf
69 changed files with 16 additions and 16 deletions
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
32
flake.nix
32
flake.nix
|
@ -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
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue