1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

nixos: set stopIfChanged to false (#2105)

There is no ExecStop so we can just restart the service.
This commit is contained in:
Naïm Favier 2021-06-14 19:49:38 +02:00 committed by GitHub
parent 25bf3d7953
commit 4ed6705b0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,6 +130,8 @@ in {
unitConfig = { RequiresMountsFor = usercfg.home.homeDirectory; };
stopIfChanged = false;
serviceConfig = {
User = usercfg.home.username;
Type = "oneshot";