From e60e96c88b3e1f7361e7fda49ed9293655454aaf Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 31 Jul 2023 15:38:08 +0200 Subject: [PATCH] Set binary cache hint --- flake.nix | 9 +++++++++ hosts/netbox/configuration.nix | 15 --------------- hosts/netbox/netbox.nix | 10 ---------- 3 files changed, 9 insertions(+), 25 deletions(-) delete mode 100644 hosts/netbox/configuration.nix delete mode 100644 hosts/netbox/netbox.nix diff --git a/flake.nix b/flake.nix index 3615c48..90ed283 100644 --- a/flake.nix +++ b/flake.nix @@ -43,5 +43,14 @@ }; }; + # Binary cache hint + nixConfig = { + extra-substituters = [ + "https://nix-cache.nekover.se" + ]; + extra-trusted-public-keys = [ + "nix-cache.nekover.se:f/VfGqC5lctLzOa6pLLDmEkihcip4WYpYShlW3rivLU=" + ]; + }; }; } diff --git a/hosts/netbox/configuration.nix b/hosts/netbox/configuration.nix deleted file mode 100644 index 6040caf..0000000 --- a/hosts/netbox/configuration.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ ... }: - -{ - imports = [ - ./hardware-configuration.nix - ./tor.nix - ]; - - networking = { - hostName = "tor-relay"; - firewall.enable = false; - }; - - system.stateVersion = "23.05"; -} diff --git a/hosts/netbox/netbox.nix b/hosts/netbox/netbox.nix deleted file mode 100644 index 07674e6..0000000 --- a/hosts/netbox/netbox.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ ... }: -{ - services.netox = { - enable = true; - - settings = { - - }; - }; -}