enable vrr and setup for new monitor
This commit is contained in:
parent
d6dc2ae887
commit
82c7275971
2 changed files with 41 additions and 1 deletions
|
|
@ -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