Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
feat: add flake input: nixd
Browse files Browse the repository at this point in the history
feat: add flake input: `nixd`
  • Loading branch information
Ruixi-rebirth committed Jun 4, 2023
1 parent 649b4e7 commit de1abf9
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 9 deletions.
90 changes: 81 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
disko.url = "github:nix-community/disko";
emanote.url = "github:srid/emanote";
joshuto.url = "github:kamiyaa/joshuto";
nixd.url = "github:nix-community/nixd";
};

}
1 change: 1 addition & 0 deletions hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ in
inputs.picom.overlays.default
inputs.nil.overlays.default
inputs.joshuto.overlays.default
inputs.nixd.overlays.default
(import inputs.emacs-overlay)
]
++ (import ../overlays);
Expand Down
1 change: 1 addition & 0 deletions modules/editors/nvim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
nodePackages_latest.bash-language-server
rnix-lsp
nil
nixd
lua-language-server
gopls
pyright
Expand Down
4 changes: 4 additions & 0 deletions modules/editors/nvim/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ return {
},
},
})
nvim_lsp.nixd.setup({
on_attach = on_attach,
settings = {},
})
nvim_lsp.hls.setup({})

-- ebuild Syntastic(install dev-util/pkgcheck)
Expand Down
1 change: 1 addition & 0 deletions scripts/flake-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ flake_input=(
treefmt-nix
emanote
joshuto
nixd
)
for item in "${flake_input[@]}"
do
Expand Down

0 comments on commit de1abf9

Please sign in to comment.