feat: linux tweaks (dns, wayland, wine)
This commit is contained in:
parent
f3d66a5aec
commit
91c43c61f9
3 changed files with 6 additions and 20 deletions
|
@ -4,6 +4,8 @@
|
|||
loader.systemd-boot.enable = true;
|
||||
initrd.systemd.enable = true;
|
||||
|
||||
supportedFilesystems = ["ntfs"];
|
||||
|
||||
plymouth = {
|
||||
enable = true;
|
||||
theme = "catppuccin-mocha";
|
||||
|
|
|
@ -26,29 +26,12 @@
|
|||
listen_addresses = ["127.0.0.1@53000" "0::1@53000"];
|
||||
upstream_recursive_servers = [
|
||||
{
|
||||
address_data = "194.242.2.3";
|
||||
address_data = "146.255.56.98";
|
||||
tls_port = 853;
|
||||
tls_auth_name = "adblock.doh.mullvad.net";
|
||||
}
|
||||
{
|
||||
address_data = "2a07:e340::3";
|
||||
tls_port = 853;
|
||||
tls_auth_name = "adblock.doh.mullvad.net";
|
||||
tls_auth_name = "dot1.applied-privacy.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"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
services = {
|
||||
flatpak.enable = true;
|
||||
openssh.enable = true;
|
||||
pcscd.enable = true;
|
||||
transmission.enable = true;
|
||||
|
@ -32,7 +33,7 @@
|
|||
mangohud
|
||||
nur.repos.nekowinston.discover-overlay
|
||||
virt-manager
|
||||
wineWowPackages.waylandFull
|
||||
wineWowPackages.staging
|
||||
winetricks
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue