m binary-cache: split lass and nixos

This commit is contained in:
makefu 2016-07-14 22:31:27 +02:00
parent d5ebe15536
commit 14242c68f2
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
3 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,12 @@
{ config, ... }:
{
nix = {
binaryCaches = [
"http://cache.prism.r"
];
binaryCachePublicKeys = [
"cache.prism-1:+S+6Lo/n27XEtvdlQKuJIcb1yO5NUqUCE2lolmTgNJU="
];
};
}

View File

@ -0,0 +1,12 @@
{ config, ... }:
{
nix = {
binaryCaches = [
"https://cache.nixos.org/"
];
binaryCachePublicKeys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
];
};
}

View File

@ -2,8 +2,6 @@
with config.krebs.lib; with config.krebs.lib;
{ {
system.stateVersion = "15.09";
imports = [ imports = [
{ {
users.extraUsers = users.extraUsers =
@ -11,6 +9,8 @@ with config.krebs.lib;
(import <secrets/hashedPasswords.nix>); (import <secrets/hashedPasswords.nix>);
} }
./vim.nix ./vim.nix
./binary-cache/nixos.nix
./binary-cache/lass.nix
]; ];
nixpkgs.config.allowUnfreePredicate = (pkg: pkgs.lib.hasPrefix "unrar-" pkg.name); nixpkgs.config.allowUnfreePredicate = (pkg: pkgs.lib.hasPrefix "unrar-" pkg.name);