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
+12 -5
View File
@@ -1,5 +1,10 @@
isHm:
{ lib, materusArgs, config, ... }:
{
lib,
materusArgs,
config,
...
}:
{
options.mkk.dir = lib.mkOption {
@@ -8,15 +13,17 @@ isHm:
};
options.mkk.var = lib.mkOption {
default = {};
default = { };
type = lib.types.attrs;
};
imports = [
(import ./nvim.nix isHm)
./nix.nix
];
config.mkk.var = import ./private/variables.nix;
]
++ lib.optionals isHm [ ./hm ]
++ lib.optionals (!isHm) [ ./os ];
config.mkk.var = import ./private/variables.nix {};
config._module.args.mkk = config.mkk.var;
}