From 26e8f736ea7a1536e4c04683eb157471625e7baa Mon Sep 17 00:00:00 2001 From: Michael Huebner Date: Mon, 16 Jun 2025 13:22:24 +0200 Subject: [PATCH] Extend path --- git_system.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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"; }; };