Fix Haven's config
This commit is contained in:
parent
8352065d44
commit
433821ef0c
|
@ -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";
|
||||||
|
|
|
@ -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}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue