Introduce myHomeProfile.extraPrograms (mirrors myPackages.extra) so each host's NixOS config declares which extra Home Manager modules it needs on top of a shared core (fish, starship, btop, git). miku-homelab's former home.nix becomes its extras list; vps gets home-manager for the first time using core alone. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
9 lines
242 B
Nix
9 lines
242 B
Nix
{ lib, ... }:
|
|
{
|
|
options.myHomeProfile.extraPrograms = lib.mkOption {
|
|
type = lib.types.listOf lib.types.path;
|
|
default = [ ];
|
|
description = "Extra Home Manager modules to import for this user, on top of the core profile.";
|
|
};
|
|
}
|