Tweak gitea config
This commit is contained in:
parent
c0707a50e7
commit
8ee11574f6
3 changed files with 7 additions and 4 deletions
|
@ -41,6 +41,9 @@
|
|||
|
||||
environment.noXlibs = true;
|
||||
|
||||
security.sudo.execWheelOnly = true;
|
||||
security.pam.enableSSHAgentAuth = true;
|
||||
|
||||
# services.openssh.enable = true;
|
||||
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue