From c636397e6062b4d9471a4b5f4e9cf7d34a257131 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 2 Sep 2023 22:05:18 +0530 Subject: flake: init --- hosts/kay/hardware-configuration.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 hosts/kay/hardware-configuration.nix (limited to 'hosts/kay/hardware-configuration.nix') diff --git a/hosts/kay/hardware-configuration.nix b/hosts/kay/hardware-configuration.nix new file mode 100644 index 0000000..1583736 --- /dev/null +++ b/hosts/kay/hardware-configuration.nix @@ -0,0 +1,32 @@ +{ modulesPath, ... }: + +{ + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + + boot = { + kernelModules = [ "kvm-intel" ]; + initrd.availableKernelModules = [ + "xhci_pci" + "ehci_pci" + "ahci" + "usb_storage" + "usbhid" + "sd_mod" + ]; + }; + + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/2eeacf49-c51e-4229-bd4a-ae437014725f"; + fsType = "ext4"; + }; + "/boot" = { + device = "/dev/disk/by-uuid/A902-90BB"; + fsType = "vfat"; + }; + "/hdd" = { + device = "/dev/disk/by-uuid/c941edb4-e393-4254-bbef-d1b3728290e9"; + fsType = "ext4"; + }; + }; +} -- cgit v1.2.3