1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: finish migration to new globals system for wireguard

This commit is contained in:
oddlama 2025-09-13 23:23:28 +02:00
parent b885d1062b
commit a1623fb97c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
29 changed files with 204 additions and 214 deletions

View file

@ -22,13 +22,15 @@
nixpkgs.hostPlatform = "x86_64-linux";
boot.mode = "bios";
wireguard.proxy-sentinel.firewallRuleForAll.allowedTCPPorts = [
80
443
];
wireguard.proxy-sentinel.firewallRuleForAll.allowedUDPPorts = [
443
];
globals.wireguard.proxy-sentinel.hosts.${config.node.name}.firewallRuleForAll = {
allowedTCPPorts = [
80
443
];
allowedUDPPorts = [
443
];
};
users.groups.acme.members = [ "nginx" ];
services.nginx.enable = true;