From 0e9998b94a699e03db62c1daa360e3e740315257 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Thu, 30 Apr 2026 23:07:51 +0200 Subject: [PATCH] Enable netbird client on srv03 --- flake.nix | 1 - hosts/srv03/default.nix | 10 +++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index d3bb15e..4c67dd1 100644 --- a/flake.nix +++ b/flake.nix @@ -177,7 +177,6 @@ inherit inputs outputs; pkgs-unstable = import nixpkgs-unstable { inherit system; - config.allowUnfree = true; }; }; diff --git a/hosts/srv03/default.nix b/hosts/srv03/default.nix index 8d49366..bc25c94 100644 --- a/hosts/srv03/default.nix +++ b/hosts/srv03/default.nix @@ -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" = {