Portable User Profiles for NixOS.
Find a file
2026-05-02 10:18:04 +02:00
assets/wallpapers fix: wallpaper path + add wallpapers to assets/ 2026-05-02 09:21:51 +02:00
lib fix: thread selfPath through mkHome for m3taHome.paths.srcRoot 2026-05-02 10:18:04 +02:00
modules fix: rename m3ta-home → m3taHome namespace (hyphens break Nix dot access) 2026-05-02 10:15:41 +02:00
profiles fix: rename m3ta-home → m3taHome namespace (hyphens break Nix dot access) 2026-05-02 10:15:41 +02:00
users/m3tam3re feat: initial m3ta-home structure 2026-05-02 09:08:40 +02:00
.gitignore feat: initial m3ta-home structure 2026-05-02 09:08:40 +02:00
flake.nix fix: thread selfPath through mkHome for m3taHome.paths.srcRoot 2026-05-02 10:18:04 +02:00
README.md feat: initial m3ta-home structure 2026-05-02 09:08:40 +02:00

m3ta-home — Portable User Profiles

Centralized home-manager configurations for NixOS systems. Separates user identity, preferences, and feature sets for portable deployment.

Structure

m3ta-home/
├── lib/           ← mkHome, mkDevShell
├── modules/       ← Home-Manager module exports
├── profiles/      ← base, contexts, sets
├── users/         ← identity, preferences, secrets
└── secrets/       ← Agenix-encrypted user secrets

Usage in nixos-config

inputs.m3ta-home = {
  url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home.git";
  inputs.nixpkgs.follows = "nixpkgs";
};
# hosts/common/users/m3tam3re.nix
home-manager.users.m3tam3re = {
  imports = [
    (inputs.m3ta-home.lib.mkHome {
      user = "m3tam3re";
      identity = "private";
      context = "desktop";
      sets = [ "coding" "gaming" "media" ];
    })
  ];
};