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 -- Neotree plugin
{ {
"nvim-neo-tree/neo-tree.nvim", "nvim-neo-tree/neo-tree.nvim",

View file

@ -60,7 +60,7 @@ in {
isNormalUser = true; isNormalUser = true;
description = "mrflos"; description = "mrflos";
createHome = true; createHome = true;
extraGroups = [ "docker" "libvirtd" "lxd" "networkmanager" "wheel" ]; extraGroups = ["users" "docker" "libvirtd" "lxd" "networkmanager" "wheel" ];
uid = 1000; uid = 1000;
shell = pkgs.zsh; shell = pkgs.zsh;
}; };

View file

@ -2,10 +2,10 @@
{ pkgs, config, lib, ... }: { { pkgs, config, lib, ... }: {
virtualisation = { virtualisation = {
docker.enable = true; docker.enable = true;
docker.rootless = { #docker.rootless = {
enable = true; # enable = true;
setSocketVariable = true; # setSocketVariable = true;
}; #};
libvirtd.enable = true; libvirtd.enable = true;
lxd.enable = true; lxd.enable = true;
#waydroid.enable = true; #waydroid.enable = true;