Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appgate-sdp requires addition configuration #877

Open
satscottfoster opened this issue Jan 9, 2025 · 1 comment
Open

Appgate-sdp requires addition configuration #877

satscottfoster opened this issue Jan 9, 2025 · 1 comment

Comments

@satscottfoster
Copy link

@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.

@ymatsiuk
Copy link

Apologies for the delay.
The config you provided is the actual module and to enable it you just have to add programs.appgate-sdp.enable = true; in your NixOS configuration. You can find more details in the manual here and here

The package that is currently present in nixpkgs is a wrapped version of upstream binary an it only supports one amd64 architecture, although upstream may be supporting more, but those are not yet packaged.

I hope that answers your questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants