mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
hosts/ni: update Wireguard setup
This commit is contained in:
parent
d8c7033a48
commit
45a7e05cf7
@ -135,7 +135,6 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Some sysadmin thingamajigs.
|
||||
openldap
|
||||
wireguard-tools
|
||||
|
||||
# For debugging build environments in Nix packages.
|
||||
cntr
|
||||
|
@ -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" = { };
|
||||
|
Loading…
Reference in New Issue
Block a user