From 24014824721574638f8c2743be511dc32a4c78b9 Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Sun, 24 Mar 2024 00:01:55 +0300 Subject: [PATCH] feat : misc dev stuff like treesitter vim conf and disable docker rootless --- dotfiles/nvim/lua/plugins/mrflos.lua | 31 ++++++++++++++++++++++++++++ modules/home-config.nix | 2 +- modules/local-dev.nix | 8 +++---- 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/dotfiles/nvim/lua/plugins/mrflos.lua b/dotfiles/nvim/lua/plugins/mrflos.lua index f523b2a..d58b031 100644 --- a/dotfiles/nvim/lua/plugins/mrflos.lua +++ b/dotfiles/nvim/lua/plugins/mrflos.lua @@ -10,6 +10,37 @@ return { }, }, + { + "nvim-treesitter/nvim-treesitter", + opts = { + ensure_installed = { + "bash", + "css", + "dockerfile", + "go", + "html", + "javascript", + "json", + "lua", + "make", + "markdown", + "markdown_inline", + "nix", + "php", + "python", + "query", + "regex", + "rust", + "toml", + "tsx", + "typescript", + "twig", + "vim", + "vue", + "yaml", + }, + }, + }, -- Neotree plugin { "nvim-neo-tree/neo-tree.nvim", diff --git a/modules/home-config.nix b/modules/home-config.nix index 188fd30..99e6856 100644 --- a/modules/home-config.nix +++ b/modules/home-config.nix @@ -60,7 +60,7 @@ in { isNormalUser = true; description = "mrflos"; createHome = true; - extraGroups = [ "docker" "libvirtd" "lxd" "networkmanager" "wheel" ]; + extraGroups = ["users" "docker" "libvirtd" "lxd" "networkmanager" "wheel" ]; uid = 1000; shell = pkgs.zsh; }; diff --git a/modules/local-dev.nix b/modules/local-dev.nix index 862ebe5..e1e3445 100644 --- a/modules/local-dev.nix +++ b/modules/local-dev.nix @@ -2,10 +2,10 @@ { pkgs, config, lib, ... }: { virtualisation = { docker.enable = true; - docker.rootless = { - enable = true; - setSocketVariable = true; - }; + #docker.rootless = { + # enable = true; + # setSocketVariable = true; + #}; libvirtd.enable = true; lxd.enable = true; #waydroid.enable = true;