about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-07 12:33:24 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-07 12:33:24 +0100
commit022841a61b6d9df5c71fac214c88dd390c9d776a (patch)
tree6c1d8260d8a595d93b78ef772fbe1bf541bff20c
parentedcb1a03c50e4d38f40ebc710f8f963dfc235537 (diff)
downloaddots-022841a61b6d9df5c71fac214c88dd390c9d776a.tar.gz
dots-022841a61b6d9df5c71fac214c88dd390c9d776a.zip
Use readFile
-rw-r--r--modules/internet.nix5
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";
-  }}"}";
+  } );
+
 }