aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-20 15:23:32 -0300
committerEuAndreh <eu@euandre.org>2021-01-20 15:23:32 -0300
commita59a68be02dac52ebb702278f93c1c349bc548a4 (patch)
tree1a13dc514c6c046912993153876eaf725937340f
parentnixos/configuration.nix: Add python3 package to the base system (diff)
downloaddotfiles-a59a68be02dac52ebb702278f93c1c349bc548a4.tar.gz
dotfiles-a59a68be02dac52ebb702278f93c1c349bc548a4.tar.xz
nixos/configuration.nix: Add sha256 of hosts downloaded file
-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 = {