new domain :DDD

This commit is contained in:
Kopatz
2024-06-16 20:47:29 +02:00
parent 4210dae08d
commit 4c57ce446c
4 changed files with 16 additions and 6 deletions

View File

@@ -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

View File

@@ -70,6 +70,10 @@ in {
"domain" = "kopatz.ddns.net";
"answer" = ip;
}
{
"domain" = "kop.oasch.net";
"answer" = ip;
}
{
"domain" = "kavita-kopatz.duckdns.org";
"answer" = ip;

View File

@@ -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"

View File

@@ -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;