treewide: cleanup (#324)

* statix, deadnix, alejandra

* _file

* _module.args

* concatStringsSep "\n" -> concatLines
concatStringsSep "\n" map -> concatMapStringsSep "\n"

* mkShell nativeBuildInputs -> packages
This commit is contained in:
Gerg-L 2024-07-08 21:57:58 +00:00 committed by GitHub
commit 8d5f23035d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 46 additions and 82 deletions

View file

@ -6,10 +6,7 @@
inherit (lib.trivial) boolToString warnIf;
in {
onedark = {
setup = {
style ? "dark",
transparent,
}: ''
setup = {style ? "dark"}: ''
-- OneDark theme
require('onedark').setup {
style = "${style}"
@ -33,10 +30,7 @@ in {
};
dracula = {
setup = {
style ? null,
transparent,
}: ''
setup = {transparent}: ''
require('dracula').setup({
transparent_bg = ${boolToString transparent},
});