From 5438cc0d767be1547f0df00317b9fabc72070f39 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 25 May 2025 01:14:43 +1000 Subject: [PATCH 1/2] forgejo: allow registration previously registration was blocked (even with external providers) as DISABLE_REGISTRATION was enabled. now users can only register through oidc. --- modules/services/forgejo.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/services/forgejo.nix b/modules/services/forgejo.nix index 26a91e7..e8b7e4d 100644 --- a/modules/services/forgejo.nix +++ b/modules/services/forgejo.nix @@ -20,7 +20,6 @@ security.REVERSE_PROXY_TRUSTED_PROXIES = "127.0.0.0/8,::1/128"; service = { - DISABLE_REGISTRATION = true; ALLOW_ONLY_EXTERNAL_REGISTRATION = true; SHOW_REGISTRATION_BUTTON = false; ENABLE_PASSWORD_SIGNIN_FORM = false; From c2a5a4b5614705a930321f9b12e7015eb71f6721 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 25 May 2025 01:15:37 +1000 Subject: [PATCH 2/2] tailscale: split into a seperate module for darwin use brew on macOS to get tray integration. --- flake.nix | 2 +- modules/network/vpn/tailscale-darwin.nix | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 modules/network/vpn/tailscale-darwin.nix diff --git a/flake.nix b/flake.nix index 79ba46d..c015bd9 100644 --- a/flake.nix +++ b/flake.nix @@ -88,7 +88,7 @@ ./modules/desktop/de/darwin.nix ./modules/hardware/darwin.nix ./modules/nix/darwin.nix - ./modules/network/vpn/tailscale.nix + ./modules/network/vpn/tailscale-darwin.nix ./hosts/kita/conf.nix ]; diff --git a/modules/network/vpn/tailscale-darwin.nix b/modules/network/vpn/tailscale-darwin.nix new file mode 100644 index 0000000..ff37699 --- /dev/null +++ b/modules/network/vpn/tailscale-darwin.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, ... }: + +{ + homebrew.casks = [ + "tailscale" + ]; +}