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.
|
2026-05-02 10:14:03 +02:00
|
|
|
{
|
|
|
|
|
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
|
2026-05-02 10:20:33 +02:00
|
|
|
# Paths — must be first, provides "m3ta-home".paths.srcRoot
|
2026-05-02 10:14:03 +02:00
|
|
|
./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-05-02 10:14:03 +02:00
|
|
|
|
2026-06-06 13:13:58 +02:00
|
|
|
_module.args.m3taHomeInputs = inputs;
|
|
|
|
|
|
2026-05-02 10:14:03 +02:00
|
|
|
# Set the source root for asset path resolution
|
2026-05-02 10:20:33 +02:00
|
|
|
"m3ta-home".paths.srcRoot = selfPath;
|
2026-05-02 09:08:40 +02:00
|
|
|
};
|
|
|
|
|
}
|