diff options
| -rw-r--r-- | flake.lock | 38 | ||||
| -rw-r--r-- | flake.nix | 14 |
2 files changed, 20 insertions, 32 deletions
@@ -8,11 +8,11 @@ ] }, "locked": { - "lastModified": 1762440070, - "narHash": "sha256-xxdepIcb39UJ94+YydGP221rjnpkDZUlykKuF54PsqI=", + "lastModified": 1763759067, + "narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "26d05891e14c88eb4a5d5bee659c0db5afb609d8", + "rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0", "type": "github" }, "original": { @@ -69,11 +69,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1762596750, - "narHash": "sha256-rXXuz51Bq7DHBlfIjN7jO8Bu3du5TV+3DSADBX7/9YQ=", + "lastModified": 1763678758, + "narHash": "sha256-+hBiJ+kG5IoffUOdlANKFflTT5nO3FrrR2CA3178Y5s=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b6a8526db03f735b89dd5ff348f53f752e7ddc8e", + "rev": "117cc7f94e8072499b0a7aa4c52084fa4e11cc9b", "type": "github" }, "original": { @@ -83,35 +83,21 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1762482733, - "narHash": "sha256-g/da4FzvckvbiZT075Sb1/YDNDr+tGQgh4N8i5ceYMg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "e1ebeec86b771e9d387dd02d82ffdc77ac753abc", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixvim": { "inputs": { "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs_2", + "nixpkgs": [ + "nixpkgs" + ], "nuschtosSearch": "nuschtosSearch", "systems": "systems_2" }, "locked": { - "lastModified": 1762691346, - "narHash": "sha256-dyYnqvYrgViB22inBqNern/XSWtOiweP8NTfJQJeTis=", + "lastModified": 1763819965, + "narHash": "sha256-zDXFIuTMrmpf6xzDebNdQTv3qNs3BFJrhHa+qYbzDko=", "owner": "nix-community", "repo": "nixvim", - "rev": "faf1fb4b7cd069ce44469e45c3259b7bcf106f81", + "rev": "2606dc719488065e735ff0fc622d743566b21ad4", "type": "github" }, "original": { @@ -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; }; }; |
