mirror of
https://github.com/nix-community/home-manager
synced 2024-11-19 17:49:45 +01:00
nixos: set stopIfChanged to false (#2105)
There is no ExecStop so we can just restart the service.
This commit is contained in:
parent
25bf3d7953
commit
4ed6705b0f
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ in {
|
||||||
|
|
||||||
unitConfig = { RequiresMountsFor = usercfg.home.homeDirectory; };
|
unitConfig = { RequiresMountsFor = usercfg.home.homeDirectory; };
|
||||||
|
|
||||||
|
stopIfChanged = false;
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = usercfg.home.username;
|
User = usercfg.home.username;
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
|
Loading…
Reference in a new issue