all repos — nixfiles @ 4551a59f04bd3dba4e2d00449389b15040fdd54d

System and user configuration, managed by nix and home-manager

nix: install cachix

Alan Pearce
commit

4551a59f04bd3dba4e2d00449389b15040fdd54d

parent

3fbb8b4190e93b3ac58511df2039ee48a412697a

1 file changed, 14 insertions(+), 0 deletions(-)

changed files
A cachix.nix
@@ -0,0 +1,14 @@
+ +# WARN: this file will get overwritten by $ cachix use <name> +{ 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.binaryCaches = ["https://cache.nixos.org/"]; +} +