all repos — archive/nixos-configuration @ 3ca26e78cdf8115940fb26d94e232547c42f41e6

Superseded by nixfiles

cachix.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
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/"];
}