diff --git a/flake.lock b/flake.lock index 19406ec..a5f0d19 100644 --- a/flake.lock +++ b/flake.lock @@ -144,6 +144,24 @@ "type": "github" } }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1685662779, + "narHash": "sha256-cKDDciXGpMEjP1n6HlzKinN0H+oLmNpgeCTzYnsA2po=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "71fb97f0d875fd4de4994dfb849f2c75e17eb6c3", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-utils": { "inputs": { "systems": "systems" @@ -321,6 +339,27 @@ "type": "github" } }, + "nixd": { + "inputs": { + "flake-parts": "flake-parts", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1690805527, + "narHash": "sha256-CGAiP0bPPDdsbYQdfAPYl3lIMQbJuyxG4tzGgU1BKUE=", + "owner": "nix-community", + "repo": "nixd", + "rev": "c4f71ee237124c41313e9c13a1b2c033ed26f70c", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixd", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1690860117, @@ -337,6 +376,24 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "dir": "lib", + "lastModified": 1685564631, + "narHash": "sha256-8ywr3AkblY4++3lIVxmrWZFzac7+f32ZEhH/A8pNscI=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4f53efe34b3a8877ac923b9350c874e3dcd5dc0a", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nui": { "flake": false, "locked": { @@ -566,6 +623,7 @@ "neogit": "neogit", "neorg": "neorg", "nightvim": "nightvim", + "nixd": "nixd", "nixpkgs": "nixpkgs", "nui": "nui", "null-ls": "null-ls", diff --git a/flake.nix b/flake.nix index 4d34f91..50cd87f 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,11 @@ }; }; + nixd = { + url = "github:nix-community/nixd"; + inputs = { nixpkgs.follows = "nixpkgs"; }; + }; + cmp-buffer = { url = "github:hrsh7th/cmp-buffer"; flake = false; diff --git a/plugins/default.nix b/plugins/default.nix index 8eba8bc..4cd0630 100644 --- a/plugins/default.nix +++ b/plugins/default.nix @@ -56,7 +56,7 @@ with deps.nightvim.lib; { inputs = with pkgs; [ gopls luajitPackages.lua-lsp - nixd + deps.nixd nodePackages.dockerfile-language-server-nodejs nodePackages.eslint nodePackages.svelte-language-server