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;
|
environment.noXlibs = true;
|
||||||
|
|
||||||
|
security.sudo.execWheelOnly = true;
|
||||||
|
security.pam.enableSSHAgentAuth = true;
|
||||||
|
|
||||||
# services.openssh.enable = true;
|
# services.openssh.enable = true;
|
||||||
|
|
||||||
sops.defaultSopsFile = ./secrets.yaml;
|
sops.defaultSopsFile = ./secrets.yaml;
|
||||||
|
|
|
@ -36,9 +36,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
log.LEVEL = "Warn";
|
log.LEVEL = "Warn";
|
||||||
DISABLE_REGISTRATION = true;
|
|
||||||
COOKIE_SECURE = true;
|
|
||||||
|
|
||||||
database = {
|
database = {
|
||||||
LOG_SQL = false;
|
LOG_SQL = false;
|
||||||
};
|
};
|
||||||
|
@ -50,6 +48,7 @@ in
|
||||||
|
|
||||||
service = {
|
service = {
|
||||||
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
picture = {
|
picture = {
|
||||||
|
@ -59,6 +58,7 @@ in
|
||||||
session = {
|
session = {
|
||||||
PROVIDER = "db";
|
PROVIDER = "db";
|
||||||
SAME_SITE = "strict";
|
SAME_SITE = "strict";
|
||||||
|
COOKIE_SECURE = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
webhook = {
|
webhook = {
|
||||||
|
|
|
@ -47,7 +47,7 @@ in
|
||||||
settings = {
|
settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
allowed-users = [ "root" ];
|
allowed-users = [ "root" ];
|
||||||
trusted-users = [ "root" ];
|
trusted-users = [ "root" "@wheel" ];
|
||||||
substituters = [
|
substituters = [
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://marcus7070.cachix.org"
|
"https://marcus7070.cachix.org"
|
||||||
|
|
Loading…
Reference in a new issue