feat: run the config through deadnix

This commit is contained in:
NotAShelf 2023-03-31 05:20:35 +03:00
commit 16ccd51852
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
98 changed files with 45 additions and 253 deletions

View file

@ -1,7 +1,6 @@
{
config,
lib,
pkgs,
...
}:
with lib;
@ -135,7 +134,7 @@ in {
else (toJSON val)
);
filterNonNull = mappings: filterAttrs (name: value: value != null) mappings;
filterNonNull = mappings: filterAttrs (_name: value: value != null) mappings;
globalsScript =
mapAttrsFlatten (name: value: "let g:${name}=${valToVim value}")
(filterNonNull cfg.globals);