This commit is contained in:
2026-04-25 12:43:13 -05:00
parent 794a787a54
commit b2996d750b
9 changed files with 182 additions and 94 deletions

View File

@@ -31,6 +31,37 @@
};
};
flake.nixosModules.netbird-sbc = { config, lib, pkgs, ... }: {
config = let
pkgs-us = import inputs.nixpkgs-us {
system = "x86_64-linux";
};
in {
sops.secrets."netbirdKey".sopsFile = ./../secrets.yaml;
services.netbird = {
enable = lib.mkDefault true;
clients.default = {
port = 51820;
name = "netbird";
interface = "wt0";
hardened = false;
login = {
enable = true;
setupKeyFile = config.sops.secrets."netbirdKey".path;
};
};
package = pkgs-us.netbird;
#package = pkgs.netbird;
};
};
};
flake.nixosModules.netbird-docker = { config, lib, pkgs, ... }: {
imports = [