mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
nixos: set stopIfChanged to false (#2105)
There is no ExecStop so we can just restart the service.
(cherry picked from commit 4ed6705b0f)
This commit is contained in:
committed by
Robert Helgesson
parent
2bfad60b73
commit
d370447e28
@@ -130,6 +130,8 @@ in {
|
||||
|
||||
unitConfig = { RequiresMountsFor = usercfg.home.homeDirectory; };
|
||||
|
||||
stopIfChanged = false;
|
||||
|
||||
serviceConfig = {
|
||||
User = usercfg.home.username;
|
||||
Type = "oneshot";
|
||||
|
||||
Reference in New Issue
Block a user