From c3a5ade1e80934f13b4760ebaddfbe7c0ca356e5 Mon Sep 17 00:00:00 2001 From: System administrator Date: Sat, 20 Jan 2024 21:18:57 +0000 Subject: Add initial nix config --- hardware-configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hardware-configuration.nix (limited to 'hardware-configuration.nix') diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..5e7b44e --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,9 @@ +{ 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.2.3