I have enabled the strongswan plugin for Network Manager via networking.networkmanager.enableStrongSwan.

I manually set up my work VPN using nm-applet, but obviously this won’t come with me if I reinstall NixOS, so I’d like to set up the VPN using nix.

The problem is that networking.networkmanager doesn’t seem to have any sort of vpn configuration system. How would I go about this?

  • KindaABigDyl@programming.devOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    On second thought, this could be a bad idea. It’s my company’s VPN. I’d have to keep track of my employer’s certificate when backing up my config along with my username for the login and other stuff that could pose a security risk.

    Still should be possible, but in this case, probably a bad idea lol