Tweak gitea config

This commit is contained in:
Erwin Boskma 2022-10-26 17:12:39 +02:00
parent c0707a50e7
commit 8ee11574f6
Signed by: erwin
GPG key ID: 270B20D17394F7E5
3 changed files with 7 additions and 4 deletions

View file

@ -41,6 +41,9 @@
environment.noXlibs = true;
security.sudo.execWheelOnly = true;
security.pam.enableSSHAgentAuth = true;
# services.openssh.enable = true;
sops.defaultSopsFile = ./secrets.yaml;

View file

@ -36,8 +36,6 @@ in
};
log.LEVEL = "Warn";
DISABLE_REGISTRATION = true;
COOKIE_SECURE = true;
database = {
LOG_SQL = false;
@ -50,6 +48,7 @@ in
service = {
DEFAULT_KEEP_EMAIL_PRIVATE = true;
DISABLE_REGISTRATION = true;
};
picture = {
@ -59,6 +58,7 @@ in
session = {
PROVIDER = "db";
SAME_SITE = "strict";
COOKIE_SECURE = true;
};
webhook = {

View file

@ -47,7 +47,7 @@ in
settings = {
auto-optimise-store = true;
allowed-users = [ "root" ];
trusted-users = [ "root" ];
trusted-users = [ "root" "@wheel" ];
substituters = [
"https://nix-community.cachix.org"
"https://marcus7070.cachix.org"