🚀 add openvpn service
This commit is contained in:
parent
eb17617025
commit
eabb8bd1a7
5 changed files with 17 additions and 0 deletions
11
modules/services/openvpn.nix
Normal file
11
modules/services/openvpn.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.openvpn.servers = {
|
||||
homeVPN = {
|
||||
config = "config /run/agenix/homeVPN ";
|
||||
autoStart = false;
|
||||
updateResolvConf = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue