about summary refs log tree commit diff
path: root/sys
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2019-09-07 13:18:55 +0000
committerAlyssa Ross <hi@alyssa.is>2019-09-16 22:09:35 +0000
commit7ff8ce925619e6d8ae6a42c0670b791c05325ce9 (patch)
treed9afd6be7e7dc8d2a4399293a95f39bd51b74424 /sys
parentd674a3c251525ea93805d782bf46e5e1ef3101be (diff)
downloadnixlib-7ff8ce925619e6d8ae6a42c0670b791c05325ce9.tar
nixlib-7ff8ce925619e6d8ae6a42c0670b791c05325ce9.tar.gz
nixlib-7ff8ce925619e6d8ae6a42c0670b791c05325ce9.tar.bz2
nixlib-7ff8ce925619e6d8ae6a42c0670b791c05325ce9.tar.lz
nixlib-7ff8ce925619e6d8ae6a42c0670b791c05325ce9.tar.xz
nixlib-7ff8ce925619e6d8ae6a42c0670b791c05325ce9.tar.zst
nixlib-7ff8ce925619e6d8ae6a42c0670b791c05325ce9.zip
sys/x220: boot from Heads
Diffstat (limited to 'sys')
-rw-r--r--sys/x220.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/x220.nix b/sys/x220.nix
index b33438807f8d..c994134a054c 100644
--- a/sys/x220.nix
+++ b/sys/x220.nix
@@ -10,12 +10,13 @@
   hardware.enableRedistributableFirmware = true;
 
   boot.initrd.availableKernelModules =
-    [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
+    [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" "i915" ];
 
   boot.kernelModules = [ "kvm-intel" ];
   boot.kernelPackages = pkgs.linuxPackages_latest;
-  boot.loader.systemd-boot.enable = true;
-  boot.loader.systemd-boot.consoleMode = "max";
+
+  boot.loader.grub.enable = false;
+  boot.loader.generic-extlinux-compatible.enable = true;
 
   boot.cleanTmpDir = true;
 
@@ -28,8 +29,8 @@
   };
 
   fileSystems."/boot" = {
-    device = "/dev/disk/by-uuid/5FED-1194";
-    fsType = "vfat";
+    device = "/dev/disk/by-uuid/01ac4fac-03c2-433e-9297-eb84268a0c0f";
+    fsType = "ext4";
   };
 
   swapDevices = [