mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
treewide: move from 'with lib' to 'inherit (lib) ...'
This commit is contained in:
parent
3fde6a4bf3
commit
ffa25c8c8a
90 changed files with 281 additions and 273 deletions
|
@ -2,8 +2,9 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
}: let
|
||||
inherit (lib) mkDefault;
|
||||
in {
|
||||
config = {
|
||||
vim.theme = {
|
||||
enable = mkDefault false;
|
||||
|
|
|
@ -2,10 +2,9 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.attrsets;
|
||||
with builtins; let
|
||||
}: let
|
||||
inherit (lib) mkOption types attrNames mkIf nvim;
|
||||
|
||||
cfg = config.vim.theme;
|
||||
supported_themes = import ./supported_themes.nix {inherit lib;};
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue