diff --git a/nixos/common/modules/hosts.nix b/nixos/common/modules/hosts.nix new file mode 100644 index 00000000..fa39b49a --- /dev/null +++ b/nixos/common/modules/hosts.nix @@ -0,0 +1,5 @@ +{ ... }: { + networking.extraHosts = builtins.readFile(builtins.fetchurl { + url = "https://github.com/blocklistproject/Lists/raw/master/everything.txt"; + }); +} diff --git a/nixos/hosts/nixos-framework/default.nix b/nixos/hosts/nixos-framework/default.nix index 75be9c83..68622687 100644 --- a/nixos/hosts/nixos-framework/default.nix +++ b/nixos/hosts/nixos-framework/default.nix @@ -11,6 +11,8 @@ # ../../common/modules/yubikey-auth.nix ../../common/modules/builder.nix ../../common/services/podman.nix + + ../../common/modules/hosts.nix ]; hardware.bluetooth.enable = true; # enables support for Bluetooth