feat: linux tweaks (dns, wayland, wine)

This commit is contained in:
winston 2023-09-14 20:29:51 +02:00
parent f3d66a5aec
commit 91c43c61f9
Signed by: winston
GPG key ID: 3786770EDBC2B481
3 changed files with 6 additions and 20 deletions

View file

@ -4,6 +4,8 @@
loader.systemd-boot.enable = true; loader.systemd-boot.enable = true;
initrd.systemd.enable = true; initrd.systemd.enable = true;
supportedFilesystems = ["ntfs"];
plymouth = { plymouth = {
enable = true; enable = true;
theme = "catppuccin-mocha"; theme = "catppuccin-mocha";

View file

@ -26,29 +26,12 @@
listen_addresses = ["127.0.0.1@53000" "0::1@53000"]; listen_addresses = ["127.0.0.1@53000" "0::1@53000"];
upstream_recursive_servers = [ upstream_recursive_servers = [
{ {
address_data = "194.242.2.3"; address_data = "146.255.56.98";
tls_port = 853; tls_port = 853;
tls_auth_name = "adblock.doh.mullvad.net"; tls_auth_name = "dot1.applied-privacy.net";
}
{
address_data = "2a07:e340::3";
tls_port = 853;
tls_auth_name = "adblock.doh.mullvad.net";
} }
]; ];
}; };
}; };
}; };
networking.stevenblack = {
enable = true;
block = ["fakenews" "gambling"];
};
networking.hostFiles = [
"${pkgs.runCommand "stevenblack-hosts-custom" {} ''
mkdir -p $out
grep -zoiP "#\s?(facebook|instagram|reddit|twitter|tiktok|whatsapp)\n[\d.\w\s-]*" \
${pkgs.stevenblack-blocklist}/alternates/social/hosts \
> $out/hosts
''}/hosts"
];
} }

View file

@ -15,6 +15,7 @@
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
services = { services = {
flatpak.enable = true;
openssh.enable = true; openssh.enable = true;
pcscd.enable = true; pcscd.enable = true;
transmission.enable = true; transmission.enable = true;
@ -32,7 +33,7 @@
mangohud mangohud
nur.repos.nekowinston.discover-overlay nur.repos.nekowinston.discover-overlay
virt-manager virt-manager
wineWowPackages.waylandFull wineWowPackages.staging
winetricks winetricks
]; ];