summaryrefslogtreecommitdiff
path: root/hosts/noctilucent/hardware-configuration.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2023-06-17 15:02:17 +0200
committerGrigory Shipunov2023-06-17 15:02:17 +0200
commit8064a2e1556a13a00b49e6874afcf0b6634427cd (patch)
tree1a55a14df9167c74dd9a237b64f9a435391aa4c8 /hosts/noctilucent/hardware-configuration.nix
parent755bc4fbf762e2517f3d9aad3b2e6b33d275c082 (diff)
noctilucent initial config
Diffstat (limited to 'hosts/noctilucent/hardware-configuration.nix')
-rw-r--r--hosts/noctilucent/hardware-configuration.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/noctilucent/hardware-configuration.nix b/hosts/noctilucent/hardware-configuration.nix
new file mode 100644
index 0000000..6679bdf
--- /dev/null
+++ b/hosts/noctilucent/hardware-configuration.nix
@@ -0,0 +1,8 @@
+{ modulesPath, ... }:
+{
+ imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
+ boot.loader.grub.device = "/dev/sda";
+ boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
+ boot.initrd.kernelModules = [ "nvme" ];
+ fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
+}