nixfiles/modules/server/default.nix
2025-10-12 23:42:31 +02:00

17 lines
236 B
Nix

{ pkgs, ... }:
{
services.openssh.enable = true;
boot.swraid = {
enable = true;
mdadmConf = ''
MAILADDR root@lyes.eu
DEVICE partitions
'';
};
environment.systemPackages = with pkgs; [
mdadm
];
}