From bd28911a9b6d0ec7822f5b9739269a87795c7c4a Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 27 May 2026 18:06:41 -0700 Subject: Update nginx configuration --- hosts/arrakis/default.nix | 1 + hosts/arrakis/services.nix | 7 +++++++ 2 files changed, 8 insertions(+) (limited to 'hosts/arrakis') diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix index d338301..5c19fe3 100644 --- a/hosts/arrakis/default.nix +++ b/hosts/arrakis/default.nix @@ -240,6 +240,7 @@ defaultSopsFile = ../secrets/arrakis.yaml; secrets = { + "htpasswd" = {}; "nftables/ssh" = {}; "nix-access-token-github" = {}; "ssh_config".path = "/root/.ssh/config"; diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 7ed2be7..51f9e59 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -236,6 +236,13 @@ ''; }; + "/nipsy/media/emu/mame" = { + basicAuthFile = "${config.sops.secrets.htpasswd.path}"; + extraConfig = '' + autoindex on; + ''; + }; + "/nipsy/media/misc" = { extraConfig = '' autoindex on; -- cgit v1.3.1