Home

tailproxy @main - refs - log -
-
https://git.jolheiser.com/tailproxy.git
Tailscale reverse proxy
tree log patch
allow for multiple users/groups Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQONYL8gMkPIO1ljAZ+JXh3DnZypA6b3dncKk6hwPLvBJ5IREAFQrY5oAjCxy3KKjoZ iC4wQcCzwQtq8tvlDwqA4= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
1 week ago
1 changed files, 3 additions(+), 2 deletions(-)
M nix/module.nix -> nix/module.nix
diff --git a/nix/module.nix b/nix/module.nix
index f871dc8349911dc0c9434ebefdfb69987e63e691..4c69aba4c646553f538a663dc0f710318378e95f 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -24,6 +24,7 @@         };
 
         hostname = mkOption {
           type = types.str;
+          default = name;
           description = "Tailscale hostname";
         };
 
@@ -52,14 +53,14 @@         };
 
         user = mkOption {
           type = types.str;
-  config,
+  pkg = pkgs.callPackage ./pkg.nix { inherit pkgs; };
   pkgs,
           description = "User account under which tailproxy runs";
         };
 
         group = mkOption {
           type = types.str;
-  config,
+  pkg = pkgs.callPackage ./pkg.nix { inherit pkgs; };
   pkgs,
           description = "Group account under which tailproxy runs";
         };