feat(pkgs): Enable hie-nix Cachix cache
This commit is contained in:
parent
aa048203b7
commit
b805265c7d
1 changed files with 14 additions and 0 deletions
14
packages.nix
14
packages.nix
|
@ -53,6 +53,20 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# Configure additional binary caches (via Cachix)
|
||||
nix = {
|
||||
binaryCaches = [
|
||||
# hie-nix contains the Haskell IDE Engine packaged for NixOS
|
||||
"https://hie-nix.cachix.org"
|
||||
];
|
||||
|
||||
binaryCachePublicKeys = [
|
||||
"hie-nix.cachix.org-1:EjBSHzF6VmDnzqlldGXbi0RM3HdjfTU3yDRi9Pd0jTY="
|
||||
];
|
||||
|
||||
trustedUsers = [ "root" "vincent" ];
|
||||
};
|
||||
|
||||
# ... and declare packages to be installed.
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Default nixos.* packages:
|
||||
|
|
Loading…
Reference in a new issue