1 { config, pkgs, lib, ... }:
5 programs.appgate-sdp = {
6 enable = lib.mkEnableOption "the AppGate SDP VPN client";
10 config = lib.mkIf config.programs.appgate-sdp.enable {
11 boot.kernelModules = [ "tun" ];
12 environment.systemPackages = [ pkgs.appgate-sdp ];
13 services.dbus.packages = [ pkgs.appgate-sdp ];
15 packages = [ pkgs.appgate-sdp ];
16 # https://github.com/NixOS/nixpkgs/issues/81138
17 services.appgatedriver.wantedBy = [ "multi-user.target" ];
18 services.appgate-dumb-resolver.path = [ pkgs.e2fsprogs ];
19 services.appgate-resolver.path = [ pkgs.procps pkgs.e2fsprogs ];
20 services.appgatedriver.path = [ pkgs.e2fsprogs ];