From 11698708b9fa5c14e84732b742db4646baf8285f Mon Sep 17 00:00:00 2001 From: Gonne Date: Tue, 6 Feb 2024 11:45:05 +0100 Subject: [PATCH] =?UTF-8?q?Speichere=20Mailman-Daten=20=C3=BCber=20Persist?= =?UTF-8?q?ent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nixos/machines/lobon/hardware-configuration.nix | 8 ++++---- nixos/modules/mailman.nix | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) 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" ]; };