From 82c72759718410ec41227a4fa10e930d9d36ef97 Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Fri, 6 Nov 2026 23:50:29 -0600 Subject: [PATCH] enable vrr and setup for new monitor --- .../home/nyxerinys/linux/hyprland/default.nix | 4 +- modules/nginx.nix | 38 +++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/modules/home/nyxerinys/linux/hyprland/default.nix b/modules/home/nyxerinys/linux/hyprland/default.nix index cab077a..515d858 100644 --- a/modules/home/nyxerinys/linux/hyprland/default.nix +++ b/modules/home/nyxerinys/linux/hyprland/default.nix @@ -28,6 +28,7 @@ args@{ inputs, lib, ... }: mode = "highres@highrr"; position = "0x0"; scale = 1; + vrr = 1; } { output = "DP-2"; @@ -37,9 +38,10 @@ args@{ inputs, lib, ... }: } { output = "HDMI-A-1"; - mode = "1920x1080@60"; + mode = "1920x1080@144"; position = "-1920x720"; scale = 1; + vrr = 1; } { output = "DP-3"; diff --git a/modules/nginx.nix b/modules/nginx.nix index 8c4cb52..bf94a0d 100644 --- a/modules/nginx.nix +++ b/modules/nginx.nix @@ -33,6 +33,44 @@ }; }; + services.anubis.instances.main = { + policy = { + useDefaultBotRules = false; + settings = { + + }; + extraBots = [ + { + name = "cloudflare-workers"; + headers_regex = { + CF-Worker = ".*"; + }; + action = "DENY"; + } + { + name = "well-known"; + path_regex = "^/.well-known/.*$"; + action = "ALLOW"; + } + { + name = "favicon"; + path_regex = "^/favicon.ico$"; + action = "ALLOW"; + } + { + name = "robots-txt"; + path_regex = "^/robots.txt$"; + action = "ALLOW"; + } + { + name = "generic-browser"; + user_agent_regex = "Mozilla"; + action = "CHALLENGE"; + } + ]; + }; + }; + # Definitions services.nginx = let services = [