pkgs: Add VPN

This commit is contained in:
Sweetbread 2024-08-26 13:05:27 +03:00
parent 238d9480b4
commit 99ce0248f3
3 changed files with 15 additions and 0 deletions

View File

@ -10,5 +10,6 @@
./hyprland.nix
./trim.nix
./bluetooth.nix
./vpn.nix
];
}

13
nixos/modules/vpn.nix Normal file
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" ];
};
}

View File

@ -66,6 +66,7 @@
helix
playerctl
duf
v2raya
# GUI utils
feh