Files
m3ta-home/modules/default.nix
T

43 lines
1.2 KiB
Nix
Raw Normal View History

2026-05-02 09:08:40 +02:00
# modules/default.nix — Export all m3ta-home modules as a HM module set.
#
# This allows nixos-config to import all modules at once:
# imports = [ inputs.m3ta-home.homeManagerModules.default ];
#
# Individual modules declare their own options (mkEnableOption etc.)
# and are activated by mkHome's import mechanism.
{
inputs,
selfPath,
2026-06-06 13:13:58 +02:00
}: {
2026-05-02 09:08:40 +02:00
default = {
imports = [
2026-05-31 14:38:02 +02:00
# External modules
inputs.agent-lib.homeManagerModules.default
2026-06-01 19:50:33 +02:00
inputs.dms.homeModules.default
inputs.dms-plugin-registry.homeModules.default
2026-06-06 13:13:58 +02:00
inputs.nix-colors.homeManagerModules.default
inputs.m3ta-nixpkgs.homeManagerModules.default
# Paths — must be first, provides "m3ta-home".paths.srcRoot
./paths.nix
2026-05-02 09:08:40 +02:00
# Profiles
./../profiles/base
./../profiles/contexts/desktop
./../profiles/contexts/server
./../profiles/sets/coding
./../profiles/sets/gaming
./../profiles/sets/media
# Users
./../users/m3tam3re/preferences
./../users/m3tam3re/identities/private.nix
./../users/m3tam3re/identities/work.nix
];
2026-06-06 13:13:58 +02:00
_module.args.m3taHomeInputs = inputs;
# Set the source root for asset path resolution
"m3ta-home".paths.srcRoot = selfPath;
2026-05-02 09:08:40 +02:00
};
}