refactor: centralize workstation HM base and derive terminal from user metadata
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
nixosModules = config.flake.modules.nixos;
|
||||
homeModules = config.flake.modules.homeManager;
|
||||
in
|
||||
{
|
||||
flake.modules.nixos.workstation-base = {
|
||||
@@ -26,4 +27,22 @@ in
|
||||
programs.nix-ld.enable = true;
|
||||
environment.localBinInPath = true;
|
||||
};
|
||||
|
||||
flake.modules.homeManager.workstation-base = {
|
||||
imports = [
|
||||
homeModules.terminal
|
||||
homeModules.shell
|
||||
homeModules.neovim
|
||||
homeModules.nh
|
||||
homeModules.git
|
||||
homeModules.dev-tools
|
||||
homeModules.podman
|
||||
homeModules.ai
|
||||
homeModules.desktop-session
|
||||
homeModules.personal-productivity
|
||||
homeModules.ssh-client
|
||||
homeModules.sops
|
||||
homeModules.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user