diff --git a/flake.nix b/flake.nix index 4c67dd1..0937102 100644 --- a/flake.nix +++ b/flake.nix @@ -143,6 +143,9 @@ specialArgs = { inherit inputs outputs; + pkgs-unstable = import nixpkgs-unstable { + inherit system; + }; }; modules = [ diff --git a/hosts/busch-main-docker/default.nix b/hosts/busch-main-docker/default.nix index 42b93a4..21d1cc9 100644 --- a/hosts/busch-main-docker/default.nix +++ b/hosts/busch-main-docker/default.nix @@ -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,