From f49d996ed2d60cd55551388dba6ff12b264062fe Mon Sep 17 00:00:00 2001 From: tootbrute Date: Sat, 21 Mar 2026 17:41:05 +0800 Subject: [PATCH] remove hash --- configuration.nix | 4 +++- services/caddy.nix | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 7907ccf..fbf9f93 100644 --- a/configuration.nix +++ b/configuration.nix @@ -12,6 +12,7 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix ./services/jellyfin.nix + ./services/caddy.nix # ./services/authentik.nix # ./services/calibre-web.nix # ./services/glances.nix @@ -141,7 +142,8 @@ neovim emacs vim - + unixtools.netstat + tmux #like screen wiper #like ncdu systemctl-tui #systemd tui diff --git a/services/caddy.nix b/services/caddy.nix index 185e3f1..5a4d127 100644 --- a/services/caddy.nix +++ b/services/caddy.nix @@ -4,11 +4,15 @@ services.caddy = { enable = true; package = pkgs.caddy.withPlugins { - plugins = [ "github.com/caddy-dns/gandi@v1.1.0" ]; hash = ""; # hash = "sha256-F/jqR4iEsklJFycTjSaW8B/V3iTGqqGOzwYBUXxRKrc="; }; + + virtualHosts."localhost".extraConfig = '' + respond "Hello, world!" + ''; + }; }