diff --git a/git_system.nix b/git_system.nix index f6d3572..0b20546 100644 --- a/git_system.nix +++ b/git_system.nix @@ -32,9 +32,12 @@ in copytmpl = { enable = true; - path = [ pkgs.nix ]; + path = [ + pkgs.nix + "/run/current-system/sw" + ]; serviceConfig = { - Type = "oneshot"; + Type = "simple"; ExecStart = "/usr/bin/cp ${./home.tmpl} /var/lib/forgejo/custom"; }; };