From bf5e38b7a7f6804fa7efd6425c8b772f94bb9973 Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 30 May 2025 15:58:28 +0200 Subject: update --- hosts/vps/configuration.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix index 52dea3a..35a201b 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/vps/configuration.nix @@ -8,7 +8,7 @@ boot.tmp.cleanOnBoot = true; zramSwap.enable = true; networking.hostName = "vps"; - networking.domain = ""; + networking.domain = "schererleander.de"; security.sudo = { enable = true; @@ -29,6 +29,7 @@ git gnutar gzip + neovim ]; services.openssh = { @@ -37,20 +38,17 @@ settings = { PasswordAuthentication = false; X11Forwarding = false; - PermitRootLogin = "yes"; + PermitRootLogin = "no"; }; }; services.nginx = { enable = true; - recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; - sslCiphers = "AES256+EECDH:AES256+EDH:!aNULL"; - appendHttpConfig = '' map $scheme $hsts_header { https "max-age=31536000; includeSubdomains; preload"; @@ -83,7 +81,6 @@ config.dbtype = "mysql"; config.adminuser = "schererleander"; config.adminpassFile = "/etc/nextcloud-admin-pass"; - settings = { maintenance_window_start = 2; # 02:00 default_phone_region = "de"; -- cgit v1.3.1