Restructure home module

This commit is contained in:
aloslider
2026-04-17 16:00:29 +03:00
parent 4a21cb9a9d
commit 91a36ec0c6
6 changed files with 28 additions and 18 deletions
+7
View File
@@ -0,0 +1,7 @@
{ config, ... }:
{
imports = [
./git.nix
./zsh.nix
];
}
+7
View File
@@ -0,0 +1,7 @@
{ config, ... }:
{
programs.zsh = {
enable = true;
envExtra = "";
};
}
+11 -3
View File
@@ -17,12 +17,20 @@
{ pkgs, ... }:
{
imports = lib.flatten [
./packages.nix
(map (f: lib.custom.relativeToRoot "home/common/optional/${f}") [
"git.nix"
(map lib.custom.relativeToRoot (
[
"home/benq/core"
]
++ (map (f: "home/benq/optional/${f}") [
])
))
];
home.packages = with pkgs; [
chezmoi
lazygit
lazydocker
];
home.stateVersion = "25.05";
};
};
-12
View File
@@ -1,12 +0,0 @@
{
config,
pkgs,
...
}:
{
home.packages = with pkgs; [
chezmoi
lazygit
lazydocker
];
}