server/fili/services/media/vpn.nix
Jana Dönszelmann 8ebf4b74e6
Some checks failed
/ lint (push) Failing after 43s
site update and some vpn shit
2026-01-06 15:43:40 +01:00

16 lines
311 B
Nix

{ config, secrets, ... }:
{
sops.secrets.mullvad = {
sopsFile = "${secrets}/mullvad.yaml";
owner = "root";
format = "yaml";
};
vpnNamespaces.mullvad = {
enable = true;
wireguardConfigFile = config.sops.secrets.mullvad.path;
accessibleFrom = [
"192.168.0.0/16"
];
};
}