diff --git a/hosts/artemis/default.nix b/hosts/artemis/default.nix index 1408426..3f9981e 100644 --- a/hosts/artemis/default.nix +++ b/hosts/artemis/default.nix @@ -23,6 +23,8 @@ })) git swiftpm + yt-dlp + ffmpeg ]; nyxs-nix.services = { diff --git a/hosts/servers/poseidon/old/default.nix b/hosts/servers/poseidon/old/default.nix index 186f450..3dcf8b8 100644 --- a/hosts/servers/poseidon/old/default.nix +++ b/hosts/servers/poseidon/old/default.nix @@ -79,7 +79,7 @@ boot.zfs.forceImportRoot = false; boot.zfs.extraPools = [ "Velaris" - # "Aeolus" + "Aeolus" ]; systemd.services.zfs-mount.enable = true; # fileSystems = { 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 = [