nixfiles/modules/server/default.nix

21 lines
277 B
Nix

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