add fix for mdmonitor failure

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
zimbatm 2023-01-21 16:50:15 +01:00
parent 33bf86a9a3
commit b62a256009
No known key found for this signature in database
GPG Key ID: 71BAF6D40C1D63D7
2 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,7 @@
_file = ./default.nix;
imports = [
./flake.nix
./mdmonitor-fix.nix
./networking.nix
./nix.nix
./openssh.nix

8
common/mdmonitor-fix.nix Normal file
View File

@ -0,0 +1,8 @@
{ lib, config, ... }: {
# See https://github.com/NixOS/nixpkgs/issues/72394#issuecomment-549110501
config = {
boot.initrd.services.swraid.mdadmConf = ''
MAILADDR root
'';
};
}