refactor: centralize workstation HM base and derive terminal from user metadata

This commit is contained in:
2026-04-21 22:10:11 +02:00
parent d252de8a3a
commit 055a139fd2
13 changed files with 213 additions and 66 deletions
+19
View File
@@ -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
];
};
}