From dce5839a797409bf6b58273fb343764a56f91bbf Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 26 Dec 2025 04:12:14 +0900 Subject: [PATCH] nix: do not restart sharefs This avoids disrupting running containers. Signed-off-by: Ophestra --- nixos.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos.nix b/nixos.nix index b5b1abd..56cc4ee 100644 --- a/nixos.nix +++ b/nixos.nix @@ -94,6 +94,10 @@ in ] } ${cfg.sharefs.name} ''; + + # do not unmount on configuration changes + restartIfChanged = false; + wantedBy = [ "multi-user.target" ]; }; };