From ff0b4b72f64ae716c8d28d3b94dc8789d14115e3 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Thu, 3 Jul 2025 09:38:43 +0530 Subject: nvidia & shit --- cachix.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cachix.nix (limited to 'cachix.nix') diff --git a/cachix.nix b/cachix.nix new file mode 100644 index 0000000..ecd2d39 --- /dev/null +++ b/cachix.nix @@ -0,0 +1,13 @@ + +# WARN: this file will get overwritten by $ cachix use +{ pkgs, lib, ... }: + +let + folder = ./cachix; + toImport = name: value: folder + ("/" + name); + filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key; + imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder)); +in { + inherit imports; + nix.settings.substituters = ["https://cache.nixos.org/"]; +} -- cgit v1.2.3