forked from Fachschaft/nixConfig
Speichere Mailman-Daten über Persistent
This commit is contained in:
parent
466739f9fe
commit
11698708b9
2 changed files with 6 additions and 4 deletions
|
@ -25,10 +25,10 @@
|
|||
fsType = "btrfs";
|
||||
options = ["subvol=nix"];
|
||||
};
|
||||
fileSystems."/var/lib/mailman" = {
|
||||
device = "/dev/disk/by-label/mailman";
|
||||
fsType = "ext4";
|
||||
};
|
||||
# fileSystems."/var/lib/mailman" = {
|
||||
# device = "/dev/disk/by-label/mailman";
|
||||
# fsType = "ext4";
|
||||
# };
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
|
|
|
@ -54,6 +54,8 @@ in {
|
|||
environment.persistence.${config.impermanence.name} = {
|
||||
directories = [
|
||||
"/var/lib/acme" # Persist TLS keys and account
|
||||
"/var/lib/mailman"
|
||||
"/var/lib/mailman-web"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue