From 59180328cda59817d71cd58c8f48ead047375064 Mon Sep 17 00:00:00 2001 From: azahi Date: Mon, 17 Feb 2025 02:21:56 +0300 Subject: 2025-02-17 --- configurations/manwe/webserver.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'configurations/manwe/webserver.nix') diff --git a/configurations/manwe/webserver.nix b/configurations/manwe/webserver.nix index 051ddba..6f6061e 100644 --- a/configurations/manwe/webserver.nix +++ b/configurations/manwe/webserver.nix @@ -5,12 +5,11 @@ libPlausible, ... }: -with lib; { nixfiles.modules.nginx = { enable = true; virtualHosts = - with my.domain; + with lib.my.domain; { ${shire}.locations."/".return = "301 https://www.youtube.com/watch?v=dQw4w9WgXcQ"; "git.${shire}".locations."/".return = "301 https://git.${azahi}"; @@ -31,11 +30,11 @@ with lib; frodo = "301 https://frodo."; in { - ${gondor}.locations."/".return = concatStrings [ + ${gondor}.locations."/".return = lib.concatStrings [ frodo gondor ]; - ${rohan}.locations."/".return = concatStrings [ + ${rohan}.locations."/".return = lib.concatStrings [ frodo rohan ]; -- cgit 1.4.1