Skip to content

Appgate-sdp requires addition configuration #877

Open
@satscottfoster

Description

@satscottfoster

@ymatsiuk

I am brand new to NixOS, please excuse any suggests that don't follow the normal way of doing things.

In order to get the Appgate entitlements to load I had to apply some additional configuration. The configuration I had to add I found. Example I found below:

{ config, pkgs, lib, ... }:

with lib;

{
  options = {
    programs.appgate-sdp = {
      enable = mkEnableOption "AppGate SDP VPN client";
    };
  };

  config = 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 ];
    };
  };
}

Shouldn't the installation code do this? If not, how about a README?

BTW: this package claims to support three architectures but it looks to me like the code only supports one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions