media-server: add vpn module

This commit is contained in:
ooks-io 2024-11-27 22:26:55 +11:00
parent 54469932ca
commit 33e5d8fbea
3 changed files with 46 additions and 1 deletions

View file

@ -8,7 +8,7 @@
inherit (config.ooknet) host;
inherit (host) admin;
inherit (config.services) tailscale;
inherit (config.services) tailscale transmission;
in {
age.identityPaths = [
"/home/${admin.name}/.ssh/id_ed25519"
@ -36,5 +36,8 @@ in {
owner = "${admin.name}";
group = "users";
};
mullvad_wg = mkIf transmission.enable {
file = "${self}/secrets/mullvad_wg.age";
};
};
}