diff --git a/config/nvim/lua/core/plugin_config/null_ls.lua b/config/nvim/lua/core/plugin_config/null_ls.lua index b578c9b4..f9fb49b6 100644 --- a/config/nvim/lua/core/plugin_config/null_ls.lua +++ b/config/nvim/lua/core/plugin_config/null_ls.lua @@ -11,6 +11,7 @@ null_ls.setup({ formatting.stylua, formatting.csharpier, formatting.alejandra, + formatting.black, diagnostics.cpplint, }, on_attach = function(client, bufnr) diff --git a/modules/dev/README.md b/modules/dev/README.md new file mode 100644 index 00000000..72f94a3f --- /dev/null +++ b/modules/dev/README.md @@ -0,0 +1,4 @@ +# READ THIS!! + +Do not add any dependencies to this! +Only add the native buildInputs/Required software (linters, lsp, compilers) diff --git a/modules/dev/python.nix b/modules/dev/python.nix index 927c7992..a8e95487 100644 --- a/modules/dev/python.nix +++ b/modules/dev/python.nix @@ -1,9 +1,14 @@ -{ outputs, options, config, lib, pkgs, ...}: -with lib; -let - cfg = config.modules.dev.python; -in { + outputs, + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.dev.python; +in { options.modules.dev.python = { enable = mkEnableOption false; }; @@ -11,6 +16,7 @@ in config = mkIf cfg.enable { users.users.sako.packages = with pkgs; [ python3 + black python310Packages.pip ]; };