From aaa12cd8cd007d76e1092acf204914b86bcff2e4 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Fri, 31 May 2024 22:16:28 +0200 Subject: [PATCH] add gh cli and html lsp --- flake.nix | 1 + home-manager/nixvim/lsp.nix | 7 ++++++- modules/misc/cli-tools.nix | 1 + overlays.nix | 6 ++++++ systems/pc/configuration.nix | 1 + 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index efbb4c6..fb5ca5f 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,7 @@ additions modifications unstable-packages + stable-packages nur.overlay ]; }) diff --git a/home-manager/nixvim/lsp.nix b/home-manager/nixvim/lsp.nix index 0c51750..b756734 100644 --- a/home-manager/nixvim/lsp.nix +++ b/home-manager/nixvim/lsp.nix @@ -1,3 +1,4 @@ +{pkgs, ...}: { plugins = { lsp = { @@ -7,7 +8,11 @@ clangd.enable = true; gopls.enable = true; nixd.enable = true; - csharp-ls.enable = true; + html.enable = true; + csharp-ls = { + enable = true; + package = pkgs.stable.csharp-ls; + }; typst-lsp.enable = true; }; keymaps.lspBuf = { diff --git a/modules/misc/cli-tools.nix b/modules/misc/cli-tools.nix index b55c1f5..9b056d6 100644 --- a/modules/misc/cli-tools.nix +++ b/modules/misc/cli-tools.nix @@ -15,6 +15,7 @@ in nixos-option btop git + gh #github killall xclip usbutils diff --git a/overlays.nix b/overlays.nix index 9ab7223..985f40b 100644 --- a/overlays.nix +++ b/overlays.nix @@ -24,4 +24,10 @@ config.allowUnfree = true; }; }; + stable-packages = final: _prev: { + stable = import inputs.nixpkgs { + system = final.system; + config.allowUnfree = true; + }; + }; } diff --git a/systems/pc/configuration.nix b/systems/pc/configuration.nix index 8938f62..4923a58 100644 --- a/systems/pc/configuration.nix +++ b/systems/pc/configuration.nix @@ -54,6 +54,7 @@ ssd.enable = true; wooting.enable = true; tpm.enable = true; + tablet.enable = true; }; graphical = { audio.enable = true;