lib: lib extension is an overlay
parent
cb99b5cea8
commit
e76608886c
|
@ -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 New Issue