LOCK IN: disable all distractions
Some checks failed
Activate Homelab Configuration / rebuild (push) Has been cancelled
Some checks failed
Activate Homelab Configuration / rebuild (push) Has been cancelled
This commit is contained in:
parent
610183cd85
commit
7b9ce69c76
5 changed files with 18 additions and 6 deletions
|
|
@ -21,6 +21,13 @@
|
|||
whitelist = [
|
||||
"https://gist.githubusercontent.com/mul14/eb05e88fcec5bb195cbb/raw/75a1fe122a4502e8d5a5268c9d0ec28332b19d5d/hosts"
|
||||
];
|
||||
blocked = [
|
||||
# LOCK IN
|
||||
"instagram"
|
||||
"youtube"
|
||||
"minecraft"
|
||||
"steam"
|
||||
];
|
||||
in {
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
|
|
@ -31,6 +38,7 @@ in {
|
|||
dns = {
|
||||
upstream_dns = [ "https://security.cloudflare-dns.com/dns-query" ];
|
||||
bootstrap_dns = [ "1.1.1.2" "1.0.0.2" ];
|
||||
blocked_services = blocked;
|
||||
};
|
||||
querylog = {
|
||||
interval = "2160h";
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@
|
|||
boot.kernel.sysctl."vm.swappiness" = 10; # reduce swap usage and keep memory performance smooth
|
||||
|
||||
services.minecraft-servers = {
|
||||
enable = true;
|
||||
# LOCK IN
|
||||
enable = false;
|
||||
eula = true;
|
||||
managementSystem.systemd-socket.enable = true;
|
||||
# ^^^ https://github.com/Infinidoge/nix-minecraft/issues/119
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
];
|
||||
services = {
|
||||
jellyfin = {
|
||||
enable = true;
|
||||
# LOCK IN
|
||||
enable = false;
|
||||
dataDir = "/mnt/data/apps/jellyfin";
|
||||
hardwareAcceleration = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
};
|
||||
|
||||
programs = {
|
||||
steam.enable = true;
|
||||
# LOCK IN
|
||||
# steam.enable = true;
|
||||
gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
|
||||
appimage = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue