diff --git a/.config/i3/scripts/launch-polybar.sh b/.config/i3/scripts/launch-polybar.sh index 4070558..65bb8ee 100755 --- a/.config/i3/scripts/launch-polybar.sh +++ b/.config/i3/scripts/launch-polybar.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash for m in $(polybar --list-monitors | cut -d":" -f1); do - MONITOR=$m polybar --reload main & + MONITOR=$m polybar main & done diff --git a/modules/services/adguard.nix b/modules/services/adguard.nix index 24bc513..2c3d5ed 100644 --- a/modules/services/adguard.nix +++ b/modules/services/adguard.nix @@ -70,6 +70,10 @@ in { "domain" = "kopatz.ddns.net"; "answer" = ip; } + { + "domain" = "kop.oasch.net"; + "answer" = ip; + } { "domain" = "kavita-kopatz.duckdns.org"; "answer" = ip; diff --git a/modules/services/nginx.nix b/modules/services/nginx.nix index 33f8854..5e01ff5 100644 --- a/modules/services/nginx.nix +++ b/modules/services/nginx.nix @@ -45,7 +45,7 @@ in { more_set_headers 'X-XSS-Protection 1; mode=block'; # add_header X-Frame-Options 'ALLOW-FROM kopatz.ddns.net'; more_set_headers 'X-Content-Type-Options nosniff'; - more_set_headers "Content-Security-Policy: frame-ancestors https://kopatz.ddns.net"; + more_set_headers "Content-Security-Policy: frame-ancestors https://kopatz.ddns.net https://kop.oasch.net"; more_set_headers "Referrer-Policy: same-origin"; more_set_headers "Permissions-Policy: geolocation=(), microphone=()"; ''; @@ -53,7 +53,7 @@ in { virtualHosts = { "kopatz.ddns.net" = { serverAliases = [ - # "www.kopatz.ddns.net" + "kop.oasch.net" # "server.home" # "server.home.arpa" # "192.168.0.6" diff --git a/systems/pc/configuration.nix b/systems/pc/configuration.nix index f85d83d..20c1dbc 100644 --- a/systems/pc/configuration.nix +++ b/systems/pc/configuration.nix @@ -45,9 +45,7 @@ tpm.enable = true; tablet.enable = true; }; - services = { - opensnitch.enable = true; - }; + services = { opensnitch.enable = true; }; graphical = { audio.enable = true; code = { @@ -92,6 +90,14 @@ } ]; + # fix index + services.xserver.extraConfig = '' + Section "Monitor" + Identifier "DisplayPort-1" + Option "PreferredMode" "2880x1600" + EndSection + ''; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;