diff options
author | makefu <github@syntax-fehler.de> | 2016-07-14 22:31:27 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-07-14 22:31:27 +0200 |
commit | 14242c68f234f6de0bed015817ac206f99dc4f20 (patch) | |
tree | c546c5b96cd3de88a5c6c1248ef9abb267a99d4b | |
parent | d5ebe15536e1b5a461b48621ecc4b8bcf61de3e2 (diff) |
m binary-cache: split lass and nixos
-rw-r--r-- | makefu/2configs/binary-cache/lass.nix | 12 | ||||
-rw-r--r-- | makefu/2configs/binary-cache/nixos.nix | 12 | ||||
-rw-r--r-- | makefu/2configs/default.nix | 4 |
3 files changed, 26 insertions, 2 deletions
diff --git a/makefu/2configs/binary-cache/lass.nix b/makefu/2configs/binary-cache/lass.nix new file mode 100644 index 000000000..4813eeb0f --- /dev/null +++ b/makefu/2configs/binary-cache/lass.nix @@ -0,0 +1,12 @@ +{ config, ... }: + +{ + nix = { + binaryCaches = [ + "http://cache.prism.r" + ]; + binaryCachePublicKeys = [ + "cache.prism-1:+S+6Lo/n27XEtvdlQKuJIcb1yO5NUqUCE2lolmTgNJU=" + ]; + }; +} diff --git a/makefu/2configs/binary-cache/nixos.nix b/makefu/2configs/binary-cache/nixos.nix new file mode 100644 index 000000000..2ff5e1307 --- /dev/null +++ b/makefu/2configs/binary-cache/nixos.nix @@ -0,0 +1,12 @@ +{ config, ... }: + +{ + nix = { + binaryCaches = [ + "https://cache.nixos.org/" + ]; + binaryCachePublicKeys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + ]; + }; +} diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix index c40256db3..acd34b0d3 100644 --- a/makefu/2configs/default.nix +++ b/makefu/2configs/default.nix @@ -2,8 +2,6 @@ with config.krebs.lib; { - system.stateVersion = "15.09"; - imports = [ { users.extraUsers = @@ -11,6 +9,8 @@ with config.krebs.lib; (import <secrets/hashedPasswords.nix>); } ./vim.nix + ./binary-cache/nixos.nix + ./binary-cache/lass.nix ]; nixpkgs.config.allowUnfreePredicate = (pkg: pkgs.lib.hasPrefix "unrar-" pkg.name); |