block some crap, see https://github.com/StevenBlack/hosts#nixos
This commit is contained in:
parent
e522dfefd3
commit
580646e644
|
@ -130,6 +130,12 @@ in
|
|||
StateDirectory = "dnscrypt-proxy";
|
||||
};
|
||||
|
||||
# block some crap, see https://github.com/StevenBlack/hosts#nixos
|
||||
networking.extraHosts = let
|
||||
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
|
||||
hostsFile = builtins.fetchurl hostsPath;
|
||||
in builtins.readFile "${hostsFile}";
|
||||
|
||||
# swap to RAM
|
||||
zramSwap.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue