From cf68a595d5324e95e3179fb20e518d9f0511a18f Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 22 May 2024 09:28:11 +0200 Subject: [PATCH] add paperless to wireguard --- nixos/components/gui/taskwarrior.nix | 4 ++-- nixos/machines/chungus/service-paperless.nix | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/components/gui/taskwarrior.nix b/nixos/components/gui/taskwarrior.nix index 3499d64..bceabc8 100644 --- a/nixos/components/gui/taskwarrior.nix +++ b/nixos/components/gui/taskwarrior.nix @@ -24,8 +24,8 @@ let }; - #taskwarrior-ui = pkgs.unstable.taskwarrior-tui; - taskwarrior-tui = pkgs.taskwarrior-tui; + #taskwarrior-ui = pkgs.unstable.taskwarrior-tui; + taskwarrior-tui = pkgs.taskwarrior-tui; in diff --git a/nixos/machines/chungus/service-paperless.nix b/nixos/machines/chungus/service-paperless.nix index 4f455d0..0db3e8d 100644 --- a/nixos/machines/chungus/service-paperless.nix +++ b/nixos/machines/chungus/service-paperless.nix @@ -23,8 +23,10 @@ networking.firewall.interfaces.wg0.allowedTCPPorts = [ config.services.paperless.port ]; services.nginx.virtualHosts."paperless.${config.networking.hostName}.private" = { + serverAliases = [ "paperless.ingolf-wagner.de" ]; extraConfig = '' allow ${config.tinc.private.subnet}; + allow ${config.wireguard.wg0.subnet}; deny all; ''; locations."/" = {