about summary refs log tree commit diff
path: root/users/tazjin/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/nixos')
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index 403e9cd6f27c..45bf8c97124c 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -19,18 +19,11 @@ in lib.fix(self: {
   imports = [
     "${depot.third_party.impermanence}/nixos.nix"
     "${depot.path + "/ops/modules/automatic-gc.nix"}"
+    "${depot.path + "/ops/modules/tvl-cache.nix"}"
     "${pkgs.home-manager.src}/nixos"
   ];
 
-  nix = {
-    binaryCachePublicKeys = [
-      "cache.tvl.su:kjc6KOMupXc1vHVufJUoDUYeLzbwSr9abcAKdn/U1Jk="
-    ];
-
-    binaryCaches = [
-      "https://cache.tvl.su"
-    ];
-  };
+  tvl.cache.enable = true;
 
   boot = rec {
     initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];