From 022841a61b6d9df5c71fac214c88dd390c9d776a Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 7 Feb 2021 12:33:24 +0100 Subject: Use readFile --- modules/internet.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/internet.nix b/modules/internet.nix index 79365ca..dedc269 100644 --- a/modules/internet.nix +++ b/modules/internet.nix @@ -7,8 +7,9 @@ ]; - networking.extraHosts = "${ pkgs.stdenv.lib.readFile "${pkgs.fetchurl { + networking.extraHosts = pkgs.stdenv.lib.readFile ( pkgs.fetchurl { url = "https://raw.githubusercontent.com/StevenBlack/hosts/5a5016ab5bf0166e004147cb49ccd0114ed29b72/alternates/fakenews-gambling-porn/hosts"; sha256 = "1c60fyzxz89bic6ymcvb8fcanyxpzr8v2z5vixxr79d8mj0vjswm"; - }}"}"; + } ); + } -- cgit 1.4.1