Enable netbird client on srv03
This commit is contained in:
parent
496bbb8271
commit
0e9998b94a
2 changed files with 9 additions and 2 deletions
|
|
@ -177,7 +177,6 @@
|
||||||
inherit inputs outputs;
|
inherit inputs outputs;
|
||||||
pkgs-unstable = import nixpkgs-unstable {
|
pkgs-unstable = import nixpkgs-unstable {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, outputs, config, lib, pkgs, ... }:
|
{ inputs, outputs, config, lib, pkgs, pkgs-unstable, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
../../modules/traefik.nix
|
../../modules/traefik.nix
|
||||||
../../modules/pocket-id.nix
|
../../modules/pocket-id.nix
|
||||||
../../modules/netbird-docker.nix
|
../../modules/netbird-docker.nix
|
||||||
|
../../modules/netbird-client.nix
|
||||||
../../modules/auto-upgrade.nix
|
../../modules/auto-upgrade.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.
|
||||||
|
|
@ -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 = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks."10-wan" = {
|
networks."10-wan" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue