Added docker and python LSP

This commit is contained in:
vanten-s 2024-04-18 15:14:44 +02:00
parent 0582d2c016
commit 9648b96457
Signed by: vanten-s
GPG key ID: DE3060396884D3F2
2 changed files with 8 additions and 0 deletions

View file

@ -87,11 +87,18 @@ in {
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
virtualisation.docker.enable = true;
virtualisation.docker.rootless = {
enable = true;
setSocketVariable = true;
};
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
neovim neovim
docker
curl curl
mlocate mlocate
links2 links2

View file

@ -67,3 +67,4 @@ require('lspconfig').html.setup { capabilities = capabilities }
require('lspconfig').cssls.setup { capabilities = capabilities } require('lspconfig').cssls.setup { capabilities = capabilities }
require('lspconfig').eslint.setup { capabilities = capabilities } require('lspconfig').eslint.setup { capabilities = capabilities }
require('lspconfig').bashls.setup { capabilities = capabilities } require('lspconfig').bashls.setup { capabilities = capabilities }
require('lspconfig').pyright.setup { capabilities = capabilities }