mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 22:40:05 -05:00
Enabling Netbird Service
This commit is contained in:
parent
eb0ea0f0c1
commit
8770d3791b
1 changed files with 16 additions and 13 deletions
|
|
@ -46,7 +46,9 @@
|
|||
config = lib.mkIf (config.netbird.enable)
|
||||
(lib.mkMerge [
|
||||
{
|
||||
services.netbird.tunnels = {
|
||||
services.netbird = {
|
||||
enable = true;
|
||||
tunnels = {
|
||||
wt0.environment = (lib.mkMerge [
|
||||
{
|
||||
NB_MANAGEMENT_URL = config.netbird.opts.management_url;
|
||||
|
|
@ -60,6 +62,7 @@
|
|||
})
|
||||
]);
|
||||
};
|
||||
};
|
||||
}
|
||||
(lib.mkIf (config.gui.enable) {
|
||||
home-manager.users.${config.user} = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue