this post was submitted on 22 Jun 2023
5 points (100.0% liked)

Nix / NixOS

1776 readers
1 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

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?

top 1 comments
sorted by: hot top controversial new old
[–] KindaABigDyl 2 points 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