about summary refs log tree commit diff
path: root/sys
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-09-14 14:33:01 +0000
committerAlyssa Ross <hi@alyssa.is>2023-09-14 14:33:01 +0000
commitdea68deb56d6c88d8d942dfcad67adb11b7e98c2 (patch)
tree1c8716389cf42b910d2305624d6a97e861bdc104 /sys
parent56e87d10ec12e00eab5c4b5710e01ab50eec267f (diff)
downloadnixlib-dea68deb56d6c88d8d942dfcad67adb11b7e98c2.tar
nixlib-dea68deb56d6c88d8d942dfcad67adb11b7e98c2.tar.gz
nixlib-dea68deb56d6c88d8d942dfcad67adb11b7e98c2.tar.bz2
nixlib-dea68deb56d6c88d8d942dfcad67adb11b7e98c2.tar.lz
nixlib-dea68deb56d6c88d8d942dfcad67adb11b7e98c2.tar.xz
nixlib-dea68deb56d6c88d8d942dfcad67adb11b7e98c2.tar.zst
nixlib-dea68deb56d6c88d8d942dfcad67adb11b7e98c2.zip
sys: disable swraid
This is enabled by default for older state versions, and now generates
an annoying warning.

Link: https://github.com/NixOS/nixpkgs/pull/123466#issuecomment-1712934780
Diffstat (limited to 'sys')
-rw-r--r--sys/atuin.nix1
-rw-r--r--sys/x220.nix2
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/atuin.nix b/sys/atuin.nix
index 62f51283eabc..91f16244dc37 100644
--- a/sys/atuin.nix
+++ b/sys/atuin.nix
@@ -159,6 +159,7 @@ in
   boot.loader.grub.font = null;
   boot.loader.grub.splashImage = null;
 
+  boot.swraid.enable = false;
   boot.supportedFilesystems = [ "zfs" ];
 
   networking.hostName = "atuin";
diff --git a/sys/x220.nix b/sys/x220.nix
index 7136dbf35f35..cc079dae5ca9 100644
--- a/sys/x220.nix
+++ b/sys/x220.nix
@@ -19,6 +19,8 @@
   boot.loader.grub.enable = true;
   boot.loader.grub.device = "nodev";
 
+  boot.swraid.enable = false;
+
   boot.initrd.postDeviceCommands = ''
     mkdir /mnt
     mount /dev/mapper/root /mnt