about summary refs log tree commit diff
path: root/modules/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles')
-rw-r--r--modules/profiles/tvl.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/profiles/tvl.nix b/modules/profiles/tvl.nix
new file mode 100644
index 00000000..2ad9ee70
--- /dev/null
+++ b/modules/profiles/tvl.nix
@@ -0,0 +1,25 @@
+{ lib, config, ... }:
+
+let
+  cfg = config.vuizvui.profiles.tvl;
+in
+
+{
+  options = {
+    vuizvui.profiles.tvl = {
+      enable = lib.mkEnableOption "tvl-specific tweaks";
+    };
+  };
+
+  config = lib.mkIf cfg.enable {
+    nix = {
+      binaryCachePublicKeys = [
+        "cache.tvl.su:kjc6KOMupXc1vHVufJUoDUYeLzbwSr9abcAKdn/U1Jk="
+      ];
+
+      binaryCaches = [
+        "https://cache.tvl.su"
+      ];
+    };
+  };
+}