-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
Expand file tree
/
Copy pathappgate-sdp.nix
More file actions
31 lines (29 loc) · 759 Bytes
/
appgate-sdp.nix
File metadata and controls
31 lines (29 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
config,
pkgs,
lib,
...
}:
{
options = {
programs.appgate-sdp = {
enable = lib.mkEnableOption "the AppGate SDP VPN client";
};
};
config = lib.mkIf config.programs.appgate-sdp.enable {
boot.kernelModules = [ "tun" ];
environment.systemPackages = [ pkgs.appgate-sdp ];
services.dbus.packages = [ pkgs.appgate-sdp ];
systemd = {
packages = [ pkgs.appgate-sdp ];
# https://github.com/NixOS/nixpkgs/issues/81138
services.appgatedriver.wantedBy = [ "multi-user.target" ];
services.appgate-dumb-resolver.path = [ pkgs.e2fsprogs ];
services.appgate-resolver.path = [
pkgs.procps
pkgs.e2fsprogs
];
services.appgatedriver.path = [ pkgs.e2fsprogs ];
};
};
}