summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2023-12-25 23:41:10 +0100
committerGitHub <noreply@github.com>2023-12-25 23:41:10 +0100
commit5494aa21c753d882bf849b998a3826f6ab6f0fc7 (patch)
tree394b4e0e5cd7804e3b90ae81e009f76428b1ecbb /nixos/modules/profiles
parente98a9c442f5bb094723d033d42e5f08ec9213c28 (diff)
parent953752738923f68b041e0630b048c37ee9ffef8d (diff)
Merge pull request #273308 from Stunkymonkey/install-device-fix-mdadm
nixos/installation-device: remove warning about mdadm
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/installation-device.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 52750cd472da..58f07b050b5c 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -105,6 +105,8 @@ with lib;
];
boot.swraid.enable = true;
+ # remove warning about unset mail
+ boot.swraid.mdadmConf = "PROGRAM ${pkgs.coreutils}/bin/true";
# Show all debug messages from the kernel but don't log refused packets
# because we have the firewall enabled. This makes installs from the