fix(nix): use user specified package for systemd service

This commit is contained in:
Zowie
2026-02-14 19:19:42 +01:00
committed by GitHub
parent 931a7f8d14
commit 0b2ea70f33
+1 -1
View File
@@ -55,7 +55,7 @@ in {
Group = config.services.headscale.group; Group = config.services.headscale.group;
StateDirectory = "headplane"; StateDirectory = "headplane";
ExecStart = "${pkgs.headplane}/bin/headplane"; ExecStart = "${cfg.package}/bin/headplane";
Restart = "always"; Restart = "always";
RestartSec = 5; RestartSec = 5;