Add netbird client to busch-main-docker
This commit is contained in:
parent
0e9998b94a
commit
0b8faa3328
2 changed files with 12 additions and 1 deletions
|
|
@ -143,6 +143,9 @@
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs outputs;
|
inherit inputs outputs;
|
||||||
|
pkgs-unstable = import nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, outputs, config, lib, pkgs, ... }:
|
{ inputs, outputs, config, lib, pkgs, pkgs-unstable, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
../../modules/server-cli.nix
|
../../modules/server-cli.nix
|
||||||
../../modules/sshd.nix
|
../../modules/sshd.nix
|
||||||
../../modules/docker.nix
|
../../modules/docker.nix
|
||||||
|
../../modules/netbird-client.nix
|
||||||
"${inputs.secrets}/modules/opkssh.nix"
|
"${inputs.secrets}/modules/opkssh.nix"
|
||||||
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
|
|
@ -26,6 +27,13 @@
|
||||||
};
|
};
|
||||||
networking.hostName = "docker-main"; # Define your hostname.
|
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,
|
# 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.
|
# 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,
|
# Most users should NEVER change this value after the initial install, for any reason,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue