aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/configuration.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index f17e06dc..b4846260 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -48,8 +48,10 @@ in {
networking = {
hostName = localConfiguration.hostName;
networkmanager.enable = true;
- extraHosts = builtins.readFile (builtins.fetchurl
- "https://raw.githubusercontent.com/StevenBlack/hosts/885d870134093060d15e3a295c4d5a8efb84e20e/alternates/fakenews-gambling-porn-social/hosts");
+ extraHosts = builtins.readFile (builtins.fetchurl {
+ url = "https://raw.githubusercontent.com/StevenBlack/hosts/885d870134093060d15e3a295c4d5a8efb84e20e/alternates/fakenews-gambling-porn-social/hosts";
+ sha256 = "0mv61ki66jrzyzd8l7kf3xhfzk7z93c2rb76bxr35jg78wp252q0";
+ });
};
system.autoUpgrade = {