lib: lib extension is an overlay

This commit is contained in:
Zynh Ludwig 2024-07-21 14:18:23 -07:00
parent cb99b5cea8
commit e76608886c
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{ nixpkgs, ... }@inputs:
let
lib = import ../lib nixpkgs;
lib = nixpkgs.lib.extend (import ../lib);
in
rec {
toPartialNixosConfig =

View file

@ -1,5 +1,5 @@
lib:
with lib;
final: prev:
with prev;
rec {
# Ternary operator
# Exaample: