motiejus/config

NixOS config
git clone https://git.jakstys.lt/motiejus/config.git
Log | Tree | Refs | README | LICENSE

commit 334d706319a55b56bd2fa8a0ce0917418ef2ba38 (tree)
parent da09ac3f537d887fe96852f544bb70524761a13c
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Sun,  1 Mar 2026 21:33:58 +0200

rolandas.jakstys.lt

Diffstat:
Mhosts/fwminex/configuration.nix | 3+++
Mmodules/services/jakstpub/default.nix | 7+++++++
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix @@ -271,6 +271,9 @@ in "jonas.jakstys.lt".extraConfig = '' reverse_proxy vno3-nk:80 ''; + "rolandas.jakstys.lt".extraConfig = '' + reverse_proxy vno3-nk:80 + ''; "hass.jakstys.lt:80".extraConfig = '' @denied not remote_ip ${myData.subnets.tailscale.cidr} abort @denied diff --git a/modules/services/jakstpub/default.nix b/modules/services/jakstpub/default.nix @@ -32,6 +32,13 @@ in } encode gzip ''; + "rolandas.jakstys.lt:80".extraConfig = with myData.subnets; '' + root * ${cfg.dataDir}/rolandas.jakstys.lt + file_server browse { + hide .stfolder + } + encode gzip + ''; "hdd.jakstys.lt:80".extraConfig = with myData.subnets; '' root * ${cfg.dataDir} @denied not remote_ip ${vno1.cidr} ${vno3.cidr} ${tailscale.cidr}