diff --git a/machines/canopus/configuration.nix b/machines/canopus/configuration.nix index 9fda5c8..e78ce87 100644 --- a/machines/canopus/configuration.nix +++ b/machines/canopus/configuration.nix @@ -39,44 +39,6 @@ in ''; }; - clan.core.vars.generators.netbird = { - files = { - setupKey = { - secret = true; - owner = config.services.netbird.clients.${nbClientName}.user.name; - group = config.services.netbird.clients.${nbClientName}.user.group; - }; - managementURL.secret = false; - }; - - prompts = { - setupKey = { - type = "line"; - persist = true; - description = "Setup Key to connect to the server"; - }; - }; - - script = '' - cat $prompts/setupKey > $out/setupKey - ''; - }; - - services.netbird.enable = true; - services.netbird.clients.${nbClientName} = { - port = 51820; - config = { - ManagementURL = { - "Scheme" = "https"; - "Host" = "netbird.b4l.co.th:443"; - }; - }; - login = { - enable = true; - setupKeyFile = config.clan.core.vars.generators.netbird.files.setupKey.path; - }; - }; - services.frappe = { enable = true; project = "glomerp";