refactor(lib): remove references to top level lib
This commit is contained in:
parent
9403daff02
commit
0c2b6b57d9
4 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
inherit (lib) concatStringsSep singleton;
|
||||
inherit (builtins) concatStringsSep;
|
||||
inherit (lib.lists) singleton;
|
||||
in
|
||||
{
|
||||
text.cheatsheet = concatStringsSep "\n" [
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
}:
|
||||
let
|
||||
inherit (builtins) map head;
|
||||
inherit (lib) concatStringsSep;
|
||||
inherit (lib.lists) concatStringsSep;
|
||||
mkListEntry = x: "- [" + x.path_ + "](" + x.path_ + ")";
|
||||
listOfGeneratedFiles = withSystem (head config.systems) (psArgs: psArgs.config.files.files);
|
||||
in
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
inherit (lib) mkMerge mkIf mkAfter;
|
||||
inherit (lib.modules) mkMerge mkIf mkAfter;
|
||||
in
|
||||
{
|
||||
flake.modules.nixos.default =
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption;
|
||||
inherit (lib.options) mkOption;
|
||||
inherit (config.flake.lib.options) mkStrOption;
|
||||
inherit (lib.types)
|
||||
listOf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue