feat: Added stuff

This commit is contained in:
uttarayan21
2025-07-25 01:06:11 +05:30
parent 4e06cdb9c3
commit 9f213cc268
5 changed files with 30 additions and 4 deletions

View File

@@ -5,5 +5,6 @@
}: { }: {
home.packages = lib.optionals pkgs.stdenv.isLinux [ home.packages = lib.optionals pkgs.stdenv.isLinux [
pkgs.jellyflix pkgs.jellyflix
pkgs.jellyfin-media-player
]; ];
} }

View File

@@ -9,7 +9,7 @@
xdg.configFile = { xdg.configFile = {
"swaync/style.css".text = '' "swaync/style.css".text = ''
.floating-notifications { .floating-notifications {
background: rgba(0, 0, 0, 0.3); background: rgba(0, 0, 0, 0.0);
} }
''; '';
}; };

View File

@@ -2,8 +2,8 @@
services.resolved = { services.resolved = {
enable = true; enable = true;
dnssec = "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"; dnsovertls = "true";
domains = ["lemur-newton.ts.net"];
fallbackDns = ["192.168.0.125"];
}; };
} }

View File

@@ -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"];
};
};
};
};
}

View File

@@ -8,7 +8,8 @@
./deluge.nix ./deluge.nix
./homeassistant.nix ./homeassistant.nix
# ./dnscrypt.nix # ./dnscrypt.nix
./resolved.nix # ./resolved.nix
./blocky.nix
./flaresolverr.nix ./flaresolverr.nix
]; ];
} }