Enable netbird client on srv03

This commit is contained in:
JuliusFreudenberger 2026-04-30 23:07:51 +02:00
parent 496bbb8271
commit 0e9998b94a
2 changed files with 9 additions and 2 deletions

View file

@ -177,7 +177,6 @@
inherit inputs outputs;
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
};

View file

@ -1,4 +1,4 @@
{ inputs, outputs, config, lib, pkgs, ... }:
{ inputs, outputs, config, lib, pkgs, pkgs-unstable, ... }:
{
imports =
@ -17,6 +17,7 @@
../../modules/traefik.nix
../../modules/pocket-id.nix
../../modules/netbird-docker.nix
../../modules/netbird-client.nix
../../modules/auto-upgrade.nix
"${inputs.secrets}/modules/opkssh.nix"
# Include the results of the hardware scan.
@ -62,6 +63,13 @@
};
};
services.netbird-client = {
enable = true;
managementUrl = "https://netbird.jfreudenberger.de";
host.setupKey = "B57B7B1D-AFBF-4D73-91F5-014A0D8645A4";
docker.setupKey = "F49C8243-DB76-4C8C-9136-25498D72B494";
};
systemd.network = {
enable = true;
networks."10-wan" = {