summaryrefslogtreecommitdiff
path: root/hosts/lia/hardware-configuration.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-02-03 16:25:15 +0530
committersinanmohd <sinan@sinanmohd.com>2024-02-03 16:26:20 +0530
commit9ec2a403905b34d872f332cc7fb0aec305faa5f2 (patch)
treeb13c827486cceaaad5c9f630ba492df711c0e4d6 /hosts/lia/hardware-configuration.nix
parent45f07b6392cfba92912e7488749523b91c764f4f (diff)
hosts/lia: init
Diffstat (limited to 'hosts/lia/hardware-configuration.nix')
-rw-r--r--hosts/lia/hardware-configuration.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/hosts/lia/hardware-configuration.nix b/hosts/lia/hardware-configuration.nix
new file mode 100644
index 0000000..6f4c6a4
--- /dev/null
+++ b/hosts/lia/hardware-configuration.nix
@@ -0,0 +1,29 @@
+{ modulesPath, ... }:
+
+{
+ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
+
+ boot = {
+ loader.grub = {
+ enable = true;
+ device = "/dev/sda";
+ };
+
+ kernelModules = [ "kvm-intel" ];
+ initrd.availableKernelModules = [
+ "uhci_hcd"
+ "ehci_pci"
+ "ata_piix"
+ "hpsa"
+ "usb_storage"
+ "usbhid"
+ "sd_mod"
+ "sr_mod"
+ ];
+ };
+
+ fileSystems."/" = {
+ device = "/dev/disk/by-uuid/99fc38a8-9003-4ae2-98f4-e08afd9b4114";
+ fsType = "ext4";
+ };
+}