diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/doas.nix | 1 | ||||
-rw-r--r-- | modules/internet.nix | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/doas.nix b/modules/doas.nix index 262028b..bf2ef38 100644 --- a/modules/doas.nix +++ b/modules/doas.nix @@ -6,6 +6,7 @@ wheelNeedsPassword = false; extraRules = [{ groups = [ "wheel" ]; + noPass = true; # keepEnv = true; # I need to set NIX_PATH explicitly, since my user and root use different paths setEnv = [ "NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels" ]; 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"; - }}"}"; + } ); + } |