feat: Added stuff
This commit is contained in:
@@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
24
nixos/tsuba/services/blocky.nix
Normal file
24
nixos/tsuba/services/blocky.nix
Normal 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"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user