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

fix: need attrset in config.lib, fix typo in nftables rule

This commit is contained in:
oddlama 2023-05-27 02:28:20 +02:00
parent 41df399bb6
commit 21e88619b7
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ in {
};
config = {
lib = {
lib.extra = {
# For a given domain, this searches for a matching wildcard acme domain that
# would include the given domain. If no such domain is defined in
# extra.acme.wildcardDomains, an assertion is triggered.

View file

@ -198,7 +198,7 @@
then "${config.networking.hostName}.local"
else config.networking.fqdn;
inherit (cfg.networking.wireguard) port;
openFirewallRules = ["untrusted"];
openFirewallRules = ["untrusted-to-local"];
};
linkName = "local-vms";
ipv4 = net.cidr.host vmCfg.id cfg.networking.wireguard.cidrv4;