nix: do not restart sharefs
All checks were successful
Test / Create distribution (push) Successful in 43s
Test / Sandbox (push) Successful in 47s
Test / Sandbox (race detector) (push) Successful in 47s
Test / Hpkg (push) Successful in 50s
Test / Hakurei (race detector) (push) Successful in 54s
Test / Hakurei (push) Successful in 56s
Test / ShareFS (push) Successful in 2m29s
Test / Flake checks (push) Successful in 1m44s

This avoids disrupting running containers.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-12-26 04:12:14 +09:00
parent d597592e1f
commit dce5839a79

View File

@@ -94,6 +94,10 @@ in
] ]
} ${cfg.sharefs.name} } ${cfg.sharefs.name}
''; '';
# do not unmount on configuration changes
restartIfChanged = false;
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
}; };
}; };