home-manager: enable for darman on every host, not just terra

terra was the only host with real ~/.zshrc/.zshenv (via home-manager),
so it never hit the plain-zsh zsh-newuser-install wizard that shows up
on first login everywhere else. Wire home-manager.nixosModules.home-manager
into jupiter/neptun/mars/mercury (+ mercury-vm/jupiter-vbox test targets)
and give darman terra's shared zsh baseline via home/common.nix, imported
from common.nix. terra's own home.nix now only carries its
desktop/dev-specific profile (Hyprland, alacritty, git identity, direnv,
dev packages) layered on top via home-manager.users.darman.imports.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Du1WQRk1F8DenrPhf8TofF
This commit is contained in:
2026-08-22 05:03:43 +02:00
co-authored by Claude Sonnet 5
parent a1cd6ae6f1
commit 60bef752cb
4 changed files with 30 additions and 9 deletions
+3 -4
View File
@@ -3,9 +3,11 @@ let
tome = pkgs.callPackage ../../pkgs/tome.nix { src = inputs.tome; };
in
{
# home.stateVersion, programs.home-manager.enable, programs.zsh.enable all
# come from home/common.nix (shared across every host) via
# configuration.nix's home-manager.users.darman.imports.
imports = [ ./home/hyprland.nix ./home/theme.nix ];
home.stateVersion = "26.05";
home.keyboard.layout = "de";
programs.git = {
@@ -15,9 +17,6 @@ in
user.email = "mail@erik-s.dev";
};
};
programs.home-manager.enable = true;
programs.zsh.enable = true;
# direnv + nix-direnv: lets per-repo devShells (e.g. ~/Data/Dev/repos/Tome's
# flake.nix) auto-load in the shell AND in Rider via its "direnv