mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 11:08:55 -05:00
Netbird Changes + virt-manager
This commit is contained in:
parent
646e294880
commit
93edbaf48d
5 changed files with 28 additions and 1 deletions
|
|
@ -14,6 +14,13 @@
|
|||
'';
|
||||
default = "";
|
||||
};
|
||||
setup_key_file = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = ''
|
||||
Path to a file containing a setup key obtained from the Management Service Dashboard (used to register peer)
|
||||
'';
|
||||
default = "";
|
||||
};
|
||||
management_url = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = ''
|
||||
|
|
@ -48,6 +55,9 @@
|
|||
(lib.mkIf (config.netbird.opts.setup_key != "") {
|
||||
NB_SETUP_KEY = config.netbird.opts.setup_key;
|
||||
})
|
||||
(lib.mkIf(config.netbird.opts.setup_key_file != "") {
|
||||
NB_SETUP_KEY_FILE = config.netbird.opts.setup_key_file;
|
||||
})
|
||||
]);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue