From 617918980fc826f8f92330fb1300204d4ae3f90e Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet Date: Tue, 31 Mar 2026 22:21:20 +0200 Subject: [PATCH] nixos/seerr: fix unit: RequiresMountsFor for config directory This helps correctness for systems which need to mount particular directories (impermanence, preservation). This option has no effect if the system does not need to mount directories / if no mountpoints exist for this directory or its parents. Signed-off-by: Nicolas Dumazet --- nixos/modules/services/misc/seerr.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/seerr.nix b/nixos/modules/services/misc/seerr.nix index 8728371f1683..fc91fd8ba30d 100644 --- a/nixos/modules/services/misc/seerr.nix +++ b/nixos/modules/services/misc/seerr.nix @@ -75,6 +75,7 @@ in RemoveIPC = true; PrivateMounts = true; }; + unitConfig.RequiresMountsFor = [ cfg.configDir ]; }; networking.firewall = lib.mkIf cfg.openFirewall {