lib: lib extension is an overlay
This commit is contained in:
parent
cb99b5cea8
commit
e76608886c
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ nixpkgs, ... }@inputs:
|
{ nixpkgs, ... }@inputs:
|
||||||
|
|
||||||
let
|
let
|
||||||
lib = import ../lib nixpkgs;
|
lib = nixpkgs.lib.extend (import ../lib);
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
toPartialNixosConfig =
|
toPartialNixosConfig =
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
lib:
|
final: prev:
|
||||||
with lib;
|
with prev;
|
||||||
rec {
|
rec {
|
||||||
# Ternary operator
|
# Ternary operator
|
||||||
# Exaample:
|
# Exaample:
|
||||||
|
|
Loading…
Reference in a new issue