flake: inherit explicitly from parts of lib
Instead of doing `inherit (lib) <something>``, all inherits now use `inherit (lib.<subsystem>) <something>`, which is much nicer.
This commit is contained in:
parent
0b78657f3b
commit
53aaa26fa1
29 changed files with 67 additions and 45 deletions
|
@ -1,11 +1,12 @@
|
|||
inputs: let
|
||||
inherit (inputs) self;
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
inherit (lib.lists) concatLists flatten singleton;
|
||||
inherit (lib) nixosSystem recursiveUpdate;
|
||||
inherit (builtins) filter map toString;
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
inherit (lib.attrsets) recursiveUpdate;
|
||||
inherit (lib.filesystem) listFilesRecursive;
|
||||
inherit (lib.lists) concatLists flatten singleton;
|
||||
inherit (lib.strings) hasSuffix;
|
||||
inherit (lib) nixosSystem;
|
||||
# NOTE: This was inspired by raf, and I find this
|
||||
# to be quite a sane way of managing all modules in my flake.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue