diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-02-07 12:33:24 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-02-07 12:33:24 +0100 |
commit | 022841a61b6d9df5c71fac214c88dd390c9d776a (patch) | |
tree | 6c1d8260d8a595d93b78ef772fbe1bf541bff20c | |
parent | edcb1a03c50e4d38f40ebc710f8f963dfc235537 (diff) | |
download | dots-022841a61b6d9df5c71fac214c88dd390c9d776a.tar.gz dots-022841a61b6d9df5c71fac214c88dd390c9d776a.zip |
Use readFile
-rw-r--r-- | modules/internet.nix | 5 |
1 files 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"; - }}"}"; + } ); + } |