From 4ed6705b0fa52c93c9131c6cd37cfdc0155d6b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Mon, 14 Jun 2021 19:49:38 +0200 Subject: [PATCH] nixos: set stopIfChanged to false (#2105) There is no ExecStop so we can just restart the service. --- nixos/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/default.nix b/nixos/default.nix index 61f3eb8d..fec59c62 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -130,6 +130,8 @@ in { unitConfig = { RequiresMountsFor = usercfg.home.homeDirectory; }; + stopIfChanged = false; + serviceConfig = { User = usercfg.home.username; Type = "oneshot";