nixos/tailscale: replace systemd script with ExecStart

This commit is contained in:
h7x4
2025-10-27 18:52:11 +09:00
parent c882420159
commit 80fc03bc0b
@@ -240,10 +240,8 @@ in
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "oneshot";
ExecStart = "${lib.getExe cfg.package} set ${escapeShellArgs cfg.extraSetFlags}";
};
script = ''
${lib.getExe cfg.package} set ${escapeShellArgs cfg.extraSetFlags}
'';
};
boot.kernel.sysctl = mkIf (cfg.useRoutingFeatures == "server" || cfg.useRoutingFeatures == "both") {