diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-20 15:23:32 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-20 15:23:32 -0300 |
| commit | a59a68be02dac52ebb702278f93c1c349bc548a4 (patch) | |
| tree | 1a13dc514c6c046912993153876eaf725937340f | |
| parent | nixos/configuration.nix: Add python3 package to the base system (diff) | |
| download | dotfiles-a59a68be02dac52ebb702278f93c1c349bc548a4.tar.gz dotfiles-a59a68be02dac52ebb702278f93c1c349bc548a4.tar.xz | |
nixos/configuration.nix: Add sha256 of hosts downloaded file
| -rw-r--r-- | nixos/configuration.nix | 6 |
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 = { |
