Add netbird client to busch-main-docker

This commit is contained in:
JuliusFreudenberger 2026-04-30 23:09:15 +02:00
parent 0e9998b94a
commit 0b8faa3328
2 changed files with 12 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ inputs, outputs, config, lib, pkgs, ... }:
{ inputs, outputs, config, lib, pkgs, pkgs-unstable, ... }:
{
imports =
@ -12,6 +12,7 @@
../../modules/server-cli.nix
../../modules/sshd.nix
../../modules/docker.nix
../../modules/netbird-client.nix
"${inputs.secrets}/modules/opkssh.nix"
# Include the results of the hardware scan.
@ -26,6 +27,13 @@
};
networking.hostName = "docker-main"; # Define your hostname.
services.netbird-client = {
enable = true;
managementUrl = "https://netbird.jfreudenberger.de";
host.setupKey = "DB64713B-FB23-49F1-A4A7-9B9E37B585D4";
docker.setupKey = "B9ECD884-B445-4156-8643-D0F34D64C200";
};
# This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
# Most users should NEVER change this value after the initial install, for any reason,