UPGRADE TO 23.05
This commit is contained in:
parent
7bf0b6e7db
commit
2c6a69c74c
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue