From 9648b9645718e0046d4ed2ba2bf01863ed2ed6ee Mon Sep 17 00:00:00 2001 From: vanten-s Date: Thu, 18 Apr 2024 15:14:44 +0200 Subject: [PATCH] Added docker and python LSP --- configuration.nix | 7 +++++++ dotfiles/nvim/after/lsp.lua | 1 + 2 files changed, 8 insertions(+) diff --git a/configuration.nix b/configuration.nix index 2a248dd..274a4dc 100644 --- a/configuration.nix +++ b/configuration.nix @@ -87,11 +87,18 @@ in { # Allow unfree packages nixpkgs.config.allowUnfree = true; + virtualisation.docker.enable = true; + virtualisation.docker.rootless = { + enable = true; + setSocketVariable = true; + }; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. neovim + docker curl mlocate links2 diff --git a/dotfiles/nvim/after/lsp.lua b/dotfiles/nvim/after/lsp.lua index aef3498..e43503d 100644 --- a/dotfiles/nvim/after/lsp.lua +++ b/dotfiles/nvim/after/lsp.lua @@ -67,3 +67,4 @@ require('lspconfig').html.setup { capabilities = capabilities } require('lspconfig').cssls.setup { capabilities = capabilities } require('lspconfig').eslint.setup { capabilities = capabilities } require('lspconfig').bashls.setup { capabilities = capabilities } +require('lspconfig').pyright.setup { capabilities = capabilities }