From dea68deb56d6c88d8d942dfcad67adb11b7e98c2 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 14 Sep 2023 14:33:01 +0000 Subject: 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 --- sys/atuin.nix | 1 + sys/x220.nix | 2 ++ 2 files changed, 3 insertions(+) (limited to 'sys') 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 -- cgit 1.4.1