UPGRADE TO 23.05

This commit is contained in:
Alexandre LUCAZEAU 2023-06-22 09:40:16 +00:00
parent 7bf0b6e7db
commit 2c6a69c74c
2 changed files with 12 additions and 8 deletions

View File

@ -14,14 +14,16 @@
system.stateVersion = "21.11";
boot.cleanTmpDir = true;
boot.tmp.cleanOnBoot = true;
zramSwap.enable = false;
networking.hostName = "web";
services.openssh = {
enable = true;
permitRootLogin = "no";
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
}

View File

@ -8,13 +8,15 @@
database = {
type = "sqlite3"; # Database type
};
domain = "git.atlanticaweb.fr"; # Domain name
rootUrl = "https://git.atlanticaweb.fr/"; # Root web URL
httpPort = 3001; # Provided unique port
settings.server = {
ROOT_URL = "https://git.atlanticaweb.fr/"; # Root web URL
HTTP_PORT = 3001; # Provided unique port
DOMAIN = "git.atlanticaweb.fr"; # Domain name
};
dump.enable = true;
dump.backupDir = "/srv/backup/gitea";
lfs.enable = true;
disableRegistration = true; # comment this line for the first user admin
settings.service.DISABLEREGISTRATION = true; # comment this line for the first user admin
};
}