fix: add pub.solar binary cache

This commit is contained in:
Benjamin Bädorf 2023-10-28 23:16:15 +02:00
parent 98bd9d30d8
commit 356526f2b0
No known key found for this signature in database
GPG key ID: 1B7BF5B77A521346
2 changed files with 9 additions and 1 deletions

View file

@ -16,7 +16,7 @@
networking.nat = { networking.nat = {
enable = true; enable = true;
enableIPv6 = true; enableIPv6 = true;
internalInterfaces = [ "wg-server" ]; internalInterfaces = [ "wg0" ];
}; };
networking.firewall.allowedUDPPorts = [ 51899 ]; networking.firewall.allowedUDPPorts = [ 51899 ];

View file

@ -30,6 +30,14 @@
trusted-users = ["root" "@wheel"]; trusted-users = ["root" "@wheel"];
# Allow only group wheel to connect to the nix daemon # Allow only group wheel to connect to the nix daemon
allowed-users = ["@wheel"]; allowed-users = ["@wheel"];
substituters = [
"https://pub-solar.cachix.org/"
];
trusted-public-keys = [
"pub-solar.cachix.org-1:ZicXIxKgdxMtgSJECWR8iihZxHRvu8ObL4n2cuBmtos="
];
}; };
# Generally useful nix option defaults # Generally useful nix option defaults