aboutsummaryrefslogtreecommitdiffstats
path: root/system/hardware.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-05 08:58:11 +0100
committerene <ene@sils.li>2023-02-05 09:02:27 +0100
commitcb69f4ae60e2d94039a7bb0b5caa566a9d288686 (patch)
treea428bba3e57539142ac96eeeabbe57af2418055f /system/hardware.nix
parentFlake: Changed the configuration to a flake (diff)
downloadnixos-server-cb69f4ae60e2d94039a7bb0b5caa566a9d288686.zip
Fix: correct host name and convenience changes
We used the domain name instead of the host name, which obviously doesn't work for multiple host. In addition to that I changed some directory to make importing easier and enabled the "nix-command" and "flakes" experimental options, to make the `nix flake check` command usable. Refs: #15
Diffstat (limited to 'system/hardware.nix')
-rw-r--r--system/hardware.nix9
1 files changed, 0 insertions, 9 deletions
diff --git a/system/hardware.nix b/system/hardware.nix
deleted file mode 100644
index c4c7dc9..0000000
--- a/system/hardware.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" "xen_blkfront" "vmw_pvscsi"];
- boot.initrd.kernelModules = ["nvme" "btrfs"];
-}