pkgs: Add VPN

This commit is contained in:
Sweetbread committed 2024-10-01 15:32:05 +03:00
1 parent 238d9480b4
commit 99ce0248f3
3 files changed
+15

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{pkgs, ...}: {
systemd.services.v2raya = {
enable = true;
description = "v2rayA gui client";
after = [ "network.target" ];
serviceConfig = {
Restart = "always";
ExecStart = "${pkgs.v2raya}/bin/v2rayA";
};
path = with pkgs; [ iptables bash ];
wantedBy = [ "multi-user.target" ];
};
}