mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 14:37:52 -05:00
Sops + Netbird = Frustration
This commit is contained in:
parent
f166f0a811
commit
4b8593b7f2
2 changed files with 1 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
sops.secrets."netbird/setup_keys/end_user" = { };
|
||||||
netbird = {
|
netbird = {
|
||||||
enable = true;
|
enable = true;
|
||||||
opts = {
|
opts = {
|
||||||
management_url = "https://netbird.moosenet.work:443";
|
management_url = "https://netbird.moosenet.work:443";
|
||||||
admin_url = "https://netbird.moosenet.work";
|
admin_url = "https://netbird.moosenet.work";
|
||||||
setup_key = sops.netbird.setup_keys.end_user;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@
|
||||||
NB_MANAGEMENT_URL = config.netbird.opts.management_url;
|
NB_MANAGEMENT_URL = config.netbird.opts.management_url;
|
||||||
NB_ADMIN_URL = config.netbird.opts.admin_url;
|
NB_ADMIN_URL = config.netbird.opts.admin_url;
|
||||||
}
|
}
|
||||||
# isString e
|
|
||||||
(lib.mkIf (config.netbird.opts.setup_key != "") {
|
(lib.mkIf (config.netbird.opts.setup_key != "") {
|
||||||
NB_SETUP_KEY = config.netbird.opts.setup_key;
|
NB_SETUP_KEY = config.netbird.opts.setup_key;
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue