diff --git a/nixos/machines/lobon/hardware-configuration.nix b/nixos/machines/lobon/hardware-configuration.nix index 1cb7611..6ef28ba 100644 --- a/nixos/machines/lobon/hardware-configuration.nix +++ b/nixos/machines/lobon/hardware-configuration.nix @@ -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"; } diff --git a/nixos/modules/mailman.nix b/nixos/modules/mailman.nix index 320d3cf..7241703 100644 --- a/nixos/modules/mailman.nix +++ b/nixos/modules/mailman.nix @@ -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" ]; };