1
Fork 0
satellite/modules/overlay.nix

58 lines
1.7 KiB
Nix
Raw Normal View History

2020-04-08 18:36:58 +02:00
{ ... }:
let
imports = import ../nix/sources.nix;
edoproPackage = import ./applications/edopro.nix;
unstable = import imports.nixpkgs-unstable {
config.allowUnfree = true;
config.allowBroken = true;
};
2020-04-08 18:36:58 +02:00
in {
nixpkgs.overlays = [
(self: super:
with self; rec {
inherit imports;
inherit unstable;
2020-04-18 09:04:12 +02:00
inherit (import imports.niv { }) niv;
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-10-07 10:51:04 +02:00
easy-dhall-nix = callPackage imports.easy-dhall-nix { };
# This is a derivation I made myself for edopro
edopro = callPackage edoproPackage { };
2020-04-18 09:04:12 +02:00
all-hies = import imports.all-hies { };
snack = (import imports.snack).snack-exe;
2020-04-12 12:45:29 +02:00
2020-04-18 09:04:12 +02:00
# unstable stuff
brave = unstable.brave;
2021-07-18 01:58:38 +02:00
idris2 = unstable.idris2;
2020-10-07 10:11:03 +02:00
ngrok = unstable.ngrok;
2020-04-20 15:44:24 +02:00
vscodium = unstable.vscodium;
2021-07-18 01:58:38 +02:00
vscode = unstable.vscode;
2020-10-30 12:37:31 +01:00
docker-compose = unstable.docker-compose;
2020-05-29 11:29:33 +02:00
deno = unstable.deno;
2021-07-18 01:58:38 +02:00
# discord = unstable.discord;
2020-10-07 10:11:03 +02:00
discord-canary = unstable.discord-canary;
2021-07-18 01:58:38 +02:00
dotnet-sdk = unstable.dotnet-sdk_5;
elm-repl = unstable.haskellPackages.elm-repl;
2020-04-08 18:36:58 +02:00
})
];
# 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="
];
};
}