From d043d7112bd6c6cd74bcb2f94e269e57b9f45d99 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 29 Jan 2024 13:14:16 -0800 Subject: [PATCH] removed 'www' and custom ACME from caddy and added secure boot feature --- configuration.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/configuration.nix b/configuration.nix index f3a5799..b312e0e 100755 --- a/configuration.nix +++ b/configuration.nix @@ -53,6 +53,8 @@ in options = [ "nofail" ]; }; + fileSystems."/boot/efi".options = [ "umask=0077" "defaults" ]; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; networking.hostName = "nixos"; # Define your hostname. @@ -216,7 +218,7 @@ in user = "caddy"; group = "root"; email = "${personalization.caddy_email_for_zerossl}"; - acmeCA = "https://acme.zerossl.com/v2/DV90"; + virtualHosts = { "${personalization.wordpress_url}" = { extraConfig = '' @@ -227,15 +229,6 @@ in ''; }; - "www.${personalization.wordpress_url}" = { - extraConfig = '' - encode gzip zstd - root * /var/lib/www/wordpress - php_fastcgi unix//run/phpfpm/mypool.sock - file_server browse - ''; - }; - "${personalization.nextcloud_url}" = { extraConfig = '' encode gzip zstd