Skip to content

Commit

Permalink
fix: use mdmonitor and overrides to bypass email and program config
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarrio committed Nov 10, 2024
1 parent a055ac0 commit a067f82
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions nixos/server/blck0/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
../../mixins/services/bluetooth.nix
];


boot.swraid.enable = true;
services.mdadm = {
enable = true;
mailAddress = "[email protected]";
systemd.services."mdmonitor".environment = {
# Override mdmonitor to log to syslog instead of emailing or alerting
MDADM_MONITOR_ARGS = "--scan --syslog";
};

oxc.containerisation.enable = true;
Expand Down

0 comments on commit a067f82

Please sign in to comment.