diff --git a/configuration.nix b/configuration.nix index 873e6c4..8d419c5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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