diff --git a/hosts/frikandel/wireguard.nix b/hosts/frikandel/wireguard.nix index af739ad..ff4aa9a 100644 --- a/hosts/frikandel/wireguard.nix +++ b/hosts/frikandel/wireguard.nix @@ -16,7 +16,7 @@ networking.nat = { enable = true; enableIPv6 = true; - internalInterfaces = [ "wg-server" ]; + internalInterfaces = [ "wg0" ]; }; networking.firewall.allowedUDPPorts = [ 51899 ]; diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 89464f2..ab92f97 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -30,6 +30,14 @@ trusted-users = ["root" "@wheel"]; # Allow only group wheel to connect to the nix daemon allowed-users = ["@wheel"]; + + substituters = [ + "https://pub-solar.cachix.org/" + ]; + + trusted-public-keys = [ + "pub-solar.cachix.org-1:ZicXIxKgdxMtgSJECWR8iihZxHRvu8ObL4n2cuBmtos=" + ]; }; # Generally useful nix option defaults