1
0
Fork 0

Fix Haven's config

This commit is contained in:
Aires 2024-06-24 18:28:22 -04:00
parent 8352065d44
commit 433821ef0c
2 changed files with 5 additions and 2 deletions

View file

@ -36,7 +36,10 @@ in
gpu.amd.enable = true; gpu.amd.enable = true;
packages = [ start-haven ]; packages = [
start-haven
pkgs.htop
];
# Keep old generations for one month. # Keep old generations for one month.
retentionPeriod = "monthly"; retentionPeriod = "monthly";

View file

@ -30,7 +30,7 @@
# Enable mdadm for Sapana (RAID 5 primary storage). # Enable mdadm for Sapana (RAID 5 primary storage).
swraid = { swraid = {
enable = true; enable = true;
mdadmConf = lib.mkIf (config.networking.hostName == "Haven") '' mdadmConf = ''
ARRAY /dev/md/Sapana metadata=1.2 UUID=51076daf:efdb34dd:bce48342:3b549fcb ARRAY /dev/md/Sapana metadata=1.2 UUID=51076daf:efdb34dd:bce48342:3b549fcb
MAILADDR ${config.secrets.users.aires.email} MAILADDR ${config.secrets.users.aires.email}
''; '';