diff --git a/home/apps/jellyflix.nix b/home/apps/jellyflix.nix index f34ad378..7b0a1bf2 100644 --- a/home/apps/jellyflix.nix +++ b/home/apps/jellyflix.nix @@ -5,5 +5,6 @@ }: { home.packages = lib.optionals pkgs.stdenv.isLinux [ pkgs.jellyflix + pkgs.jellyfin-media-player ]; } diff --git a/home/services/swaync.nix b/home/services/swaync.nix index 09b2c350..0b0c49b7 100644 --- a/home/services/swaync.nix +++ b/home/services/swaync.nix @@ -9,7 +9,7 @@ xdg.configFile = { "swaync/style.css".text = '' .floating-notifications { - background: rgba(0, 0, 0, 0.3); + background: rgba(0, 0, 0, 0.0); } ''; }; diff --git a/nixos/ryu/services/resolved.nix b/nixos/ryu/services/resolved.nix index f5bf04cc..1a954672 100644 --- a/nixos/ryu/services/resolved.nix +++ b/nixos/ryu/services/resolved.nix @@ -2,8 +2,8 @@ services.resolved = { enable = true; dnssec = "true"; - domains = ["~." "lemur-newton.ts.net"]; - fallbackDns = ["1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one"]; dnsovertls = "true"; + domains = ["lemur-newton.ts.net"]; + fallbackDns = ["192.168.0.125"]; }; } diff --git a/nixos/tsuba/services/blocky.nix b/nixos/tsuba/services/blocky.nix new file mode 100644 index 00000000..75c2398b --- /dev/null +++ b/nixos/tsuba/services/blocky.nix @@ -0,0 +1,24 @@ +{...}: { + services.blocky = { + enable = true; + settings = { + ports.dns = 53; # Port for incoming DNS Queries. + upstreams.groups.default = [ + "https://one.one.one.one/dns-query" # Using Cloudflare's DNS over HTTPS server for resolving queries. + ]; + # For initially solving DoH/DoT Requests when no system Resolver is available. + bootstrapDns = { + upstream = "https://one.one.one.one/dns-query"; + ips = ["1.1.1.1" "1.0.0.1"]; + }; + blocking = { + denylists = { + ads = ["https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"]; + }; + clientGroupsBlock = { + default = ["ads"]; + }; + }; + }; + }; +} diff --git a/nixos/tsuba/services/default.nix b/nixos/tsuba/services/default.nix index ae8af9ce..53834994 100644 --- a/nixos/tsuba/services/default.nix +++ b/nixos/tsuba/services/default.nix @@ -8,7 +8,8 @@ ./deluge.nix ./homeassistant.nix # ./dnscrypt.nix - ./resolved.nix + # ./resolved.nix + ./blocky.nix ./flaresolverr.nix ]; }