From 8064a2e1556a13a00b49e6874afcf0b6634427cd Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 17 Jun 2023 15:02:17 +0200 Subject: noctilucent initial config --- hosts/noctilucent/hardware-configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hosts/noctilucent/hardware-configuration.nix (limited to 'hosts/noctilucent/hardware-configuration.nix') 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"; }; +} -- cgit v1.3.1