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"; system.stateVersion = "21.11";
boot.cleanTmpDir = true; boot.tmp.cleanOnBoot = true;
zramSwap.enable = false; zramSwap.enable = false;
networking.hostName = "web"; networking.hostName = "web";
services.openssh = { services.openssh = {
enable = true; enable = true;
permitRootLogin = "no"; settings = {
passwordAuthentication = false; PermitRootLogin = "no";
kbdInteractiveAuthentication = false; PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
}; };
} }

View File

@ -8,13 +8,15 @@
database = { database = {
type = "sqlite3"; # Database type type = "sqlite3"; # Database type
}; };
domain = "git.atlanticaweb.fr"; # Domain name settings.server = {
rootUrl = "https://git.atlanticaweb.fr/"; # Root web URL ROOT_URL = "https://git.atlanticaweb.fr/"; # Root web URL
httpPort = 3001; # Provided unique port HTTP_PORT = 3001; # Provided unique port
DOMAIN = "git.atlanticaweb.fr"; # Domain name
};
dump.enable = true; dump.enable = true;
dump.backupDir = "/srv/backup/gitea"; dump.backupDir = "/srv/backup/gitea";
lfs.enable = true; 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
}; };
} }