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"; fsType = "btrfs";
options = ["subvol=nix"]; options = ["subvol=nix"];
}; };
fileSystems."/var/lib/mailman" = { # fileSystems."/var/lib/mailman" = {
device = "/dev/disk/by-label/mailman"; # device = "/dev/disk/by-label/mailman";
fsType = "ext4"; # fsType = "ext4";
}; # };
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }

View file

@ -54,6 +54,8 @@ in {
environment.persistence.${config.impermanence.name} = { environment.persistence.${config.impermanence.name} = {
directories = [ directories = [
"/var/lib/acme" # Persist TLS keys and account "/var/lib/acme" # Persist TLS keys and account
"/var/lib/mailman"
"/var/lib/mailman-web"
]; ];
}; };