mirror of
https://github.com/nix-community/srvos.git
synced 2024-10-26 17:49:54 +03:00
add fix for mdmonitor failure
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
33bf86a9a3
commit
b62a256009
@ -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
8
common/mdmonitor-fix.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user