summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2023-12-10 11:00:02 +0100
committerFelix Buehler <account@buehler.rocks>2023-12-10 13:06:25 +0100
commit953752738923f68b041e0630b048c37ee9ffef8d (patch)
tree650523be04b9b7feb3d375576da382015e9ac470 /nixos/modules/profiles
parent462cf3b848037d5fab0320441393a4c75a2bd4db (diff)
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