Compare commits
3 commits
793f909cbb
...
82c7275971
| Author | SHA1 | Date | |
|---|---|---|---|
| 82c7275971 | |||
| d6dc2ae887 | |||
| 818e43ebcd |
4 changed files with 44 additions and 2 deletions
|
|
@ -23,6 +23,8 @@
|
|||
}))
|
||||
git
|
||||
swiftpm
|
||||
yt-dlp
|
||||
ffmpeg
|
||||
];
|
||||
|
||||
nyxs-nix.services = {
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
boot.zfs.forceImportRoot = false;
|
||||
boot.zfs.extraPools = [
|
||||
"Velaris"
|
||||
# "Aeolus"
|
||||
"Aeolus"
|
||||
];
|
||||
systemd.services.zfs-mount.enable = true;
|
||||
# fileSystems = {
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue