hosts/ni: update Wireguard setup

This commit is contained in:
Gabriel Arazas 2023-11-06 16:53:22 +08:00
parent d8c7033a48
commit 45a7e05cf7
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,6 @@
environment.systemPackages = with pkgs; [
# Some sysadmin thingamajigs.
openldap
wireguard-tools
# For debugging build environments in Nix packages.
cntr

View File

@ -25,6 +25,7 @@ in
# be used anywhere, we're configuring Wireguard here as a "client".
config = lib.mkMerge [
{
environment.systemPackages = with pkgs; [ wireguard-tools ];
networking.firewall.allowedUDPPorts = [ wireguardPort ];
sops.secrets = lib.getSecrets ../secrets/secrets.yaml {
"wireguard/private-key" = { };