Restructure home module
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./git.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
envExtra = "";
|
||||
};
|
||||
}
|
||||
+11
-3
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
chezmoi
|
||||
lazygit
|
||||
lazydocker
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user