common: restructure config, update tmux and wezterm

This commit is contained in:
2026-06-18 17:29:42 +02:00
parent a485b83e49
commit ac43221eec
13 changed files with 111 additions and 101 deletions
+4
View File
@@ -0,0 +1,4 @@
{ ... }:
{
imports = [ ./nvim.nix ];
}
+39
View File
@@ -0,0 +1,39 @@
{
config,
lib,
pkgs,
...
}:
{
options.mkk.neovim = {
enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
config =
# Home Manager
lib.mkIf config.mkk.neovim.enable {
xdg.configFile."nvim/lua/materus".source = "${config.mkk.dir}/config/editor/neovim/lua/materus";
programs.neovim = {
enable = true;
withRuby = true;
withPython3 = true;
plugins = [
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
];
initLua = lib.mkAfter ''
MATERUS = {
NIXOS = 1
}
require("materus")
'';
};
home.packages = [
pkgs.fd
pkgs.ripgrep
pkgs.tree-sitter
];
};
}