1
Fork 0
satellite/modules/overlay.nix

37 lines
1 KiB
Nix
Raw Normal View History

2020-04-08 18:36:58 +02:00
{ ... }:
let
imports = import ../nix/sources.nix;
unstable = import imports.nixpkgs-unstable { config.allowUnfree = true; };
2020-04-08 18:36:58 +02:00
in {
nixpkgs.overlays = [
(self: super:
with self; rec {
inherit imports;
inherit unstable;
2020-04-08 18:36:58 +02:00
cached-nix-shell = callPackage imports.cached-nix-shell { };
2020-04-08 19:09:37 +02:00
easy-purescript-nix = callPackage imports.easy-purescript-nix { };
2020-04-12 12:45:29 +02:00
brave = unstable.brave;
2020-04-08 18:36:58 +02:00
inherit (import imports.niv { }) niv;
inherit (import imports.all-hies { }) all-hies;
})
];
# allow packages with unfree licenses
nixpkgs.config.allowUnfree = true;
nix = {
trustedUsers = [ "root" "adrielus" "@wheel" ];
autoOptimiseStore = true;
gc.automatic = true;
optimise.automatic = true;
binaryCaches = [ "https://cache.nixos.org" "https://all-hies.cachix.org" ];
binaryCachePublicKeys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"all-hies.cachix.org-1:JjrzAOEUsD9ZMt8fdFbzo3jNAyEWlPAwdVuHw4RD43k="
];
};
}