1 2 3 4 5 6 7
{ config, pkgs, inputs, ... }: { sops.secrets.wg0.sopsFile = ./resources/secrets/wg0.yaml; networking.wg-quick.interfaces = { wg0.configFile = config.sops.secrets.wg0.path; }; }