diff options
author | ene <ene@sils.li> | 2023-03-19 18:01:16 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-19 18:01:16 +0100 |
commit | 0b55d0277cd341eed9532677036e885c0ae038ed (patch) | |
tree | 3f6efd09426199ef55cea36346fb0df7a9b1ed09 /system | |
parent | Fix(system/hardware): Use actually needed modules and UUID (diff) | |
download | nixos-server-0b55d0277cd341eed9532677036e885c0ae038ed.tar.gz nixos-server-0b55d0277cd341eed9532677036e885c0ae038ed.zip |
Refactor(system/hardware): Move hardware to host
The hardware settings are (somewhat) host specific, and putting them in `system` just builds the wrong expectations.
Diffstat (limited to 'system')
-rw-r--r-- | system/default.nix | 1 | ||||
-rw-r--r-- | system/hardware/default.nix | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/system/default.nix b/system/default.nix index 9aa5d9e..d67ada2 100644 --- a/system/default.nix +++ b/system/default.nix @@ -1,7 +1,6 @@ {config, ...}: { imports = [ ./file_system_layouts - ./hardware ./packages ./services ./users diff --git a/system/hardware/default.nix b/system/hardware/default.nix deleted file mode 100644 index 9fabafe..0000000 --- a/system/hardware/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{modulesPath, ...}: { - imports = [ - (modulesPath + "/profiles/qemu-guest.nix") - (modulesPath + "/profiles/headless.nix") - ]; - boot.loader.grub.device = "/dev/vda"; - boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"]; - boot.initrd.kernelModules = []; -} |