copy nb configuration and modules
This commit is contained in:
19
utils/modules/vpn/epicenter.works/default.nix
Normal file
19
utils/modules/vpn/epicenter.works/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.resolved.enable = true;
|
||||
services.openvpn.servers = {
|
||||
epicenterWorks = {
|
||||
config = ''
|
||||
config /etc/nixos/modules/vpn/epicenter.works/vpn.conf
|
||||
|
||||
script-security 2
|
||||
up ${pkgs.update-systemd-resolved}/libexec/openvpn/update-systemd-resolved
|
||||
up-restart
|
||||
down ${pkgs.update-systemd-resolved}/libexec/openvpn/update-systemd-resolved
|
||||
down-pre
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user