about summary refs log tree commit diff
path: root/users/tazjin/nixos/tverskoy
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/nixos/tverskoy')
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix20
1 files changed, 15 insertions, 5 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index 54f1afa51017..2f7ffd66c7e8 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -31,11 +31,21 @@ in lib.fix(self: {
     "${nixpkgs.home-manager.src}/nixos"
   ];
 
-  nix.nixPath = lib.mkForce [
-    "nixpkgs=${depot.third_party.nixpkgsSrc}"
-    "nixos=${depot.third_party.nixpkgsSrc}"
-    "depot=/depot"
-  ];
+  nix = {
+    nixPath = lib.mkForce [
+      "nixpkgs=${depot.third_party.nixpkgsSrc}"
+      "nixos=${depot.third_party.nixpkgsSrc}"
+      "depot=/depot"
+    ];
+
+    binaryCachePublicKeys = [
+      "cache.tvl.su:kjc6KOMupXc1vHVufJUoDUYeLzbwSr9abcAKdn/U1Jk="
+    ];
+
+    binaryCaches = [
+      "https://cache.tvl.su"
+    ];
+  };
 
   boot = {
     initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];