Speichere Mailman-Daten über Persistent

This commit is contained in:
Gonne 2024-02-06 11:45:05 +01:00
parent 466739f9fe
commit 11698708b9
2 changed files with 6 additions and 4 deletions

View file

@ -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";
}

View file

@ -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"
];
};