Sops + Netbird = Frustration

This commit is contained in:
Annika Merris 2024-07-28 12:12:02 -04:00
parent f166f0a811
commit 4b8593b7f2
2 changed files with 1 additions and 2 deletions

View file

@ -1,11 +1,11 @@
{ config, lib, pkgs, ... }:
{
sops.secrets."netbird/setup_keys/end_user" = { };
netbird = {
enable = true;
opts = {
management_url = "https://netbird.moosenet.work:443";
admin_url = "https://netbird.moosenet.work";
setup_key = sops.netbird.setup_keys.end_user;
};
};
}

View file

@ -45,7 +45,6 @@
NB_MANAGEMENT_URL = config.netbird.opts.management_url;
NB_ADMIN_URL = config.netbird.opts.admin_url;
}
# isString e
(lib.mkIf (config.netbird.opts.setup_key != "") {
NB_SETUP_KEY = config.netbird.opts.setup_key;
})