From 69259f389bb09f6e8f3a83c850b33575086fb209 Mon Sep 17 00:00:00 2001 From: dadada Date: Sat, 10 Dec 2022 12:02:53 +0100 Subject: [PATCH] migrate gitea settings --- nixos/agares/configuration.nix | 3 +++ nixos/modules/gitea.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/agares/configuration.nix b/nixos/agares/configuration.nix index 7bde1ab..0b2e4ed 100644 --- a/nixos/agares/configuration.nix +++ b/nixos/agares/configuration.nix @@ -11,6 +11,9 @@ # to be able to use qemu from substituter environment.noXlibs = false; + # libvirtd + security.polkit.enable = true; + dadada = { admin.enable = true; networking.localResolver.enable = true; diff --git a/nixos/modules/gitea.nix b/nixos/modules/gitea.nix index 28c9983..bc4c6a0 100644 --- a/nixos/modules/gitea.nix +++ b/nixos/modules/gitea.nix @@ -17,7 +17,6 @@ in rootUrl = "https://git.dadada.li/"; log.level = "Error"; domain = config.networking.domain; - ssh.enable = true; cookieSecure = true; enableUnixSocket = true; database = { @@ -28,6 +27,7 @@ in server = { LANDING_PAGE = "explore"; OFFLINE_MODE = true; + DISABLE_SSH = false; }; picture = { DISABLE_GRAVATAR = true;