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