diff --git a/git_system.nix b/git_system.nix index f1ab6d5..4d4a03f 100644 --- a/git_system.nix +++ b/git_system.nix @@ -28,6 +28,18 @@ in acceptTerms = true; }; + systemd.services = { + copytmpl = { + enable = true; + + path = [ pkgs.nix ]; + serviceConfig = { + Type = "oneshot"; + ExecStart = "cp ${./home.tmpl} /var/lib/forgejo/custom"; + }; + }; + }; + services = { nginx = { enable = true; @@ -80,15 +92,7 @@ in }; }; - copytmpl = { - enable = true; - path = [ pkgs.nix ]; - serviceConfig = { - Type = "oneshot"; - ExecStart = "cp ${./home.tmpl} /var/lib/forgejo/custom"; - }; - }; openssh = { ports = [ 62 ];