nix-dotfiles/machines/galadriel/openvpn.nix

11 lines
220 B
Nix

{ config, pkgs, lib, ... }:
{
sops.secrets."openvpn/galadriel/config" = {};
services.openvpn.servers.galadriel = {
config = "config ${config.sops.secrets."openvpn/galadriel/config".path}";
};
}