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:
parent
b885d1062b
commit
a1623fb97c
29 changed files with 204 additions and 214 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue