diff options
| author | tom barrett <thomas.barrett@karcher.com> | 2025-11-23 15:17:39 +0100 |
|---|---|---|
| committer | tom barrett <thomas.barrett@karcher.com> | 2025-11-23 15:17:39 +0100 |
| commit | 585568c924dd097f87e1a8c2a26ca3043aee5d33 (patch) | |
| tree | 7f0d7e19457a0f2f1233af3033a79a9c7273f4cb /flake.nix | |
| parent | 8385d04d4ca3c82bbd8cd432a3b411ad82d5426c (diff) | |
working
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,7 +1,10 @@ { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - nixvim.url = "github:nix-community/nixvim"; + nixvim = { + url = "github:nix-community/nixvim"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = @@ -22,14 +25,16 @@ mouse = ""; expandtab = true; tabstop = 4; + shiftwidth = 4; }; + diagnostic.settings.virtual_text = true; colorschemes.kanagawa = { enable = true; settings.transparent = true; }; extraPackages = [ - pkgs.nixfmt-rfc-style pkgs.shfmt + pkgs.nixfmt-rfc-style ]; filetype.pattern.".*".__raw = '' function(path, bufnr) @@ -51,10 +56,7 @@ cmake.enable = true; gopls.enable = true; ruff.enable = true; - nixd = { - enable = true; - extraOptions.formatting.command = "nixfmt"; - }; + nixd.enable = true; bashls.enable = true; }; }; |
