split up wireguard stuff
This commit is contained in:
12
services/wg.nix
Normal file
12
services/wg.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ pkgs, service_configs, ... }:
|
||||
{
|
||||
|
||||
# network namespace that is proxied through mullvad
|
||||
vpnNamespaces.wg = {
|
||||
enable = true;
|
||||
wireguardConfigFile = ../secrets/wg0.conf;
|
||||
accessibleFrom = [
|
||||
"192.168.0.0/24"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user