1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 19:11:08 +01:00

feat: make overlays available from everywhere

This commit is contained in:
Kierán Meinhardt
2020-09-23 00:32:28 +02:00
parent 854610384e
commit e427aa912e
2 changed files with 64 additions and 52 deletions

6
overlays/overlays.nix Normal file
View File

@@ -0,0 +1,6 @@
self: super:
with super.lib;
let
eval = import <nixpkgs/nixos/lib/eval-config.nix>;
paths = (eval {modules = [(import <nixos-config>)];}).config.nixpkgs.overlays;
in foldl' (flip extends) (_: super) paths self