diff options
author | stuebinm | 2022-01-10 00:42:01 +0100 |
---|---|---|
committer | stuebinm | 2022-01-10 01:56:35 +0100 |
commit | 38ba8be512b8dbb8838fbca9865b2a8d24f6bee1 (patch) | |
tree | 87d7c07a54627b781531cda677d90c0fffdac077 /common/cachix | |
parent | be4ac10c641e39babc83db479c827b6dfb0af103 (diff) |
add abbenay (desktop config)
Diffstat (limited to '')
-rw-r--r-- | common/cachix.nix | 13 | ||||
-rw-r--r-- | common/cachix/nix-community.nix | 11 | ||||
-rw-r--r-- | common/cachix/veloren-nix.nix | 12 |
3 files changed, 36 insertions, 0 deletions
diff --git a/common/cachix.nix b/common/cachix.nix new file mode 100644 index 0000000..88b2f08 --- /dev/null +++ b/common/cachix.nix @@ -0,0 +1,13 @@ + +# 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/"]; +} diff --git a/common/cachix/nix-community.nix b/common/cachix/nix-community.nix new file mode 100644 index 0000000..427a518 --- /dev/null +++ b/common/cachix/nix-community.nix @@ -0,0 +1,11 @@ + +{ + nix = { + binaryCaches = [ + "https://nix-community.cachix.org" + ]; + binaryCachePublicKeys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; +} diff --git a/common/cachix/veloren-nix.nix b/common/cachix/veloren-nix.nix new file mode 100644 index 0000000..37fb947 --- /dev/null +++ b/common/cachix/veloren-nix.nix @@ -0,0 +1,12 @@ + +{ + nix = { + binaryCaches = [ + "https://veloren-nix.cachix.org" + ]; + binaryCachePublicKeys = [ + "veloren-nix.cachix.org-1:zokfKJqVsNV6kI/oJdLF6TYBdNPYGSb+diMVQPn/5Rc=" + ]; + }; +} +
\ No newline at end of file |