Adjust for nixos-23.05

This commit is contained in:
2024-07-05 14:29:08 +02:00
parent a5ff69ead4
commit 7347608697
+9 -7
View File
@@ -16,7 +16,7 @@
};
};
boot.cleanTmpDir = true;
boot.tmp.cleanOnBoot = true;
# Network configuration
networking = {
@@ -46,7 +46,7 @@
# OpenSSH daemon
services.openssh = {
enable = true;
passwordAuthentication = false;
settings.PasswordAuthentication = false;
listenAddresses = [
{ addr = "0.0.0.0"; }
{ addr = "::"; }
@@ -56,7 +56,7 @@
# Let's Encrypt certificates
security.acme = {
acceptTerms = true;
email = "manu@beffara.org";
defaults.email = "manu@beffara.org";
};
# Nginx web server
@@ -87,8 +87,9 @@
enable = true;
hostName = "cloud.beffara.org";
https = true;
package = pkgs.nextcloud21;
package = pkgs.nextcloud27;
home = "/data/web/nextcloud";
enableBrokenCiphersForSSE = false;
autoUpdateApps = {
enable = true;
@@ -141,12 +142,13 @@
passwordFile = "/data/gitea/db-pass";
type = "postgres";
};
domain = "git.beffara.org";
enableUnixSocket = true;
mailerPasswordFile = "/data/gitea/mailer-pass";
repositoryRoot = "/data/gitea/repositories";
rootUrl = "https://git.beffara.org/";
stateDir = "/data/gitea";
settings.server = {
DOMAIN = "git.beffara.org";
PROTOCOL = "http+unix";
};
};
# Initial user account