LoutreOS: update to 23.05 and rename deprecated options
This commit is contained in:
parent
cacf58c7dd
commit
ab08037dc9
4 changed files with 15 additions and 12 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
|
||||
tmpOnTmpfs = true;
|
||||
tmp.useTmpfs = true;
|
||||
};
|
||||
|
||||
documentation.nixos.enable = false;
|
||||
|
@ -168,9 +168,11 @@
|
|||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
forwardX11 = true;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
X11Forwarding = true;
|
||||
};
|
||||
};
|
||||
|
||||
users = {
|
||||
|
|
|
@ -62,7 +62,7 @@ in
|
|||
};
|
||||
|
||||
# Certificate setup
|
||||
certificateScheme = 1;
|
||||
certificateScheme = "manual";
|
||||
certificateFile = "/var/lib/acme/${domaine}/fullchain.pem";
|
||||
keyFile = "/var/lib/acme/${domaine}/key.pem";
|
||||
|
||||
|
|
|
@ -262,7 +262,7 @@ in
|
|||
};
|
||||
};
|
||||
"ci.nyanlout.re" = simpleReverse 52350;
|
||||
"gitea.nyanlout.re" = simpleReverse config.services.gitea.httpPort;
|
||||
"gitea.nyanlout.re" = simpleReverse config.services.gitea.settings.server.HTTP_PORT;
|
||||
"musique.nyanlout.re" = simpleReverse config.services.navidrome.settings.Port;
|
||||
"photo.nyanlout.re" = recursiveUpdate (simpleReverse config.services.photoprism.port) {
|
||||
locations."/" = {
|
||||
|
@ -350,14 +350,16 @@ in
|
|||
|
||||
gitea = {
|
||||
enable = true;
|
||||
httpPort = 3001;
|
||||
rootUrl = "https://gitea.nyanlout.re/";
|
||||
database = {
|
||||
type = "postgres";
|
||||
port = 5432;
|
||||
passwordFile = "/var/lib/gitea/custom/conf/database_password";
|
||||
};
|
||||
settings = {
|
||||
server = {
|
||||
HTTP_PORT = 3001;
|
||||
ROOT_URL = "https://gitea.nyanlout.re/";
|
||||
};
|
||||
ui.DEFAULT_THEME = "arc-green";
|
||||
log.LEVEL = "Warn";
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue