Add pkgs overlay

This commit is contained in:
jalr 2021-11-16 14:51:21 +00:00 committed by Jakob Lechner
parent 230a7b3e78
commit 83bc46fd3a
3 changed files with 22 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, inputs, ... }:
{
nix = {
@ -15,6 +15,18 @@
autoOptimiseStore = true;
};
nixpkgs.overlays = with inputs; [
self.overlay
(final: prev: {
unstable = import nixpkgs-unstable {
inherit (config.nixpkgs)
config
overlays
system;
};
})
];
environment.systemPackages = with pkgs; [
cached-nix-shell
];