refactor: move configs around

This commit is contained in:
Mohammad Rafiq 2025-03-31 04:11:47 +08:00
parent a8c03f0261
commit fc259dff4a
No known key found for this signature in database
52 changed files with 43 additions and 45 deletions

View file

@ -12,22 +12,19 @@
[
(modulesPath + "/installer/scan/not-detected.nix")
./boot.nix
./bootloaders/systemd-boot.nix
./networking.nix
./nix-config.nix
./security.nix
./shell
./shell.nix
./users.nix
]
# Options for graphical systems.
(lib.optionals (type == "desktop") [
./graphical
./hardware/audio.nix
./hardware/bluetooth.nix
./stylix.nix
./graphical.nix
])
# Options for specific hostnames.
(lib.optionals (hostname == "nemesis") [
./bootloaders/systemd-boot.nix
./filesystems/hw-nemesis.nix
# (import ./filesystems/impermanence.nix {
# inherit inputs lib;
@ -37,7 +34,6 @@
./hardware/nvidia.nix
])
(lib.optionals (hostname == "mellinoe") [
./bootloaders/systemd-boot.nix
(import ./filesystems/impermanence.nix {
inherit inputs lib;
device = "/dev/disk/by-id/nvme-eui.01000000000000008ce38e04019a68ab";
@ -45,7 +41,6 @@
./hardware/cpu_intel.nix
])
(lib.optionals (hostname == "apollo") [
./bootloaders/systemd-boot.nix
(import ./filesystems/impermanence.nix {
inherit inputs lib;
device = "/dev/disk/by-id/nvme-eui.002538d221b47b01";