feat : misc dev stuff like treesitter vim conf and disable docker rootless

This commit is contained in:
Florian Schmitt 2024-03-24 00:01:55 +03:00
parent 76ef90df68
commit 2401482472
3 changed files with 36 additions and 5 deletions

View file

@ -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",

View file

@ -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;
};

View file

@ -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;