add nix lsp
This commit is contained in:
parent
7218ee7b7d
commit
286ae5375c
@ -1,5 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
@ -17,5 +15,4 @@
|
||||
fastfetch
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
|
@ -1,4 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
xdg.configFile = {
|
||||
"fastfetch/config.jsonc" = {
|
||||
|
@ -1,4 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
xdg.configFile = {
|
||||
"ghostty/config" = {
|
||||
|
@ -1,5 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
@ -32,13 +30,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile = {
|
||||
|
||||
# Copy Configuration
|
||||
xdg.configFile = {
|
||||
git = {
|
||||
source = ./config;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
inherit (pkgs.lib) mkIf optionals;
|
||||
inherit (pkgs.lib) optionals;
|
||||
inherit (pkgs.stdenv) isLinux isDarwin;
|
||||
in
|
||||
{
|
||||
|
@ -1,5 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."htop/htoprc" = {
|
||||
source = ./config/htoprc;
|
||||
|
@ -137,6 +137,13 @@ nvim_lsp.templ.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- Nix LSP Configuration
|
||||
nvim_lsp.nil_ls.setup({
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- Go LSP Configuration
|
||||
nvim_lsp.gopls.setup({
|
||||
on_attach = function(client, bufnr)
|
||||
|
@ -1,6 +1,5 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
inherit (pkgs.lib.lists) subtractLists;
|
||||
unstable = import <nixpkgs-unstable> { };
|
||||
in
|
||||
{
|
||||
@ -151,6 +150,7 @@ in
|
||||
golangci-lint-langserver
|
||||
gopls
|
||||
lua-language-server
|
||||
nil
|
||||
nodePackages.eslint
|
||||
nodePackages.svelte-language-server
|
||||
nodePackages.typescript
|
||||
|
@ -1,5 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.powerline-go = {
|
||||
enable = true;
|
||||
|
@ -1,5 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.readline = {
|
||||
enable = true;
|
||||
@ -9,5 +7,4 @@
|
||||
set vi-cmd-mode-string \1\e[01;38;5;22;48;5;148m\2 C \1\e[38;5;148;48;5;238m\2\1\e[0m\2
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user