From 1e4ce44af30067b7554913ef7ee3167d8cf6ef5e Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 21 Jun 2024 15:50:45 +0900 Subject: [PATCH] Update hosts --- nixos/common/modules/hosts.nix | 5 +++++ nixos/hosts/nixos-framework/default.nix | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 nixos/common/modules/hosts.nix 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