mirror of
https://git.oat.zone/dark-firepit/dotfiles
synced 2024-05-06 14:36:06 +02:00
9da0a143ae
Co-authored-by: Jill Monoids <oatmealine@disroot.org>
13 lines
317 B
Nix
13 lines
317 B
Nix
{ inputs, lib, pkgs, ... }:
|
|
|
|
lib.extend (self: super:
|
|
let
|
|
inherit (lib) attrValues foldr;
|
|
inherit (modules) mapModules;
|
|
|
|
modules = import ./modules.nix { inherit lib; };
|
|
in {
|
|
_ = foldr (a: b: a // b) {} (attrValues (mapModules ./. (file: import file { inherit pkgs inputs; lib = self; })));
|
|
}
|
|
)
|