aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-15 10:57:44 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-15 10:57:44 -0700
commitc12d847ebfeaf5260cc9dfeba40dece9fdca1768 (patch)
tree23fd9981179c5ebe2e4ab59d7f203207051ab77b /hosts/arrakis
parentfcda9c69c44ef7511f783e51ba3c9ec87e7d6024 (diff)
downloadnix-c12d847ebfeaf5260cc9dfeba40dece9fdca1768.tar
nix-c12d847ebfeaf5260cc9dfeba40dece9fdca1768.tar.gz
nix-c12d847ebfeaf5260cc9dfeba40dece9fdca1768.tar.bz2
nix-c12d847ebfeaf5260cc9dfeba40dece9fdca1768.tar.lz
nix-c12d847ebfeaf5260cc9dfeba40dece9fdca1768.tar.xz
nix-c12d847ebfeaf5260cc9dfeba40dece9fdca1768.tar.zst
nix-c12d847ebfeaf5260cc9dfeba40dece9fdca1768.zip
Add missing VPN service @arrakis
Diffstat (limited to '')
-rw-r--r--hosts/arrakis/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix
index ba1d236..78ae971 100644
--- a/hosts/arrakis/default.nix
+++ b/hosts/arrakis/default.nix
@@ -369,6 +369,22 @@
wantedBy = [ "multi-user.target" ];
};
+ "vpn" = {
+ after = [ "network.target" ];
+ description = "VPN service";
+ serviceConfig = {
+ RemainAfterExit = true;
+ Type = "oneshot";
+ ExecStart = "/root/bin/vpnctl start";
+ };
+ unitConfig = {
+ ConditionPathExists = [
+ "/root/bin/vpnctl"
+ ];
+ };
+ wantedBy = [ "multi-user.target" ];
+ };
+
};
systemd.paths."nftables-extra" = {