Files
nixos-config/hosts/m3-ares/home.nix
m3ta-chiron 5e1b1fbfc7 feat: integrate m3ta-home for centralized user profiles
- Add m3ta-home as flake input (ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-home)
- Rewrite hosts/common/users/m3tam3re.nix to use m3ta-home.lib.mkHome
- Central host profile mapping (context + sets per hostname)
- Per-host feature flags for desktop vs server hosts
- Extract Hyprland monitor layouts to hosts/<name>/home.nix
- Per-host home.nix auto-imported if file exists

BREAKING: This replaces the old home/m3tam3re/<host>.nix system.
The old home/ directory is kept but no longer referenced.
It should be removed in a follow-up commit after verification.
2026-05-02 09:22:32 +02:00

37 lines
1.2 KiB
Nix

# hosts/m3-ares/home.nix — Host-specific home-manager overrides.
# TUXEDO laptop: internal display + HDMI monitor.
{config, lib, ...}:
with lib; {
# ── Hyprland monitor layout ──
config = mkIf config.desktop.wm.hyprland.enable {
wayland.windowManager.hyprland = {
enable = true;
settings = {
exec-once = ["tuxedo-backlight"];
monitor = [
"eDP-1,preferred,0x0,1.25"
"HDMI-A-1,1920x1080@120,2560x0,1"
];
workspace = [
"1, monitor:eDP-1, default:true"
"2, monitor:eDP-1"
"3, monitor:eDP-1"
"4, monitor:HDMI-A-1,"
"5, monitor:HDMI-A-1,border:false,rounding:false"
"6, monitor:HDMI-A-1"
];
windowrule = [
"match:class dev.zed.Zed, workspace 1"
"match:class Msty, workspace 1"
"match:class ^(com.obsproject.Studio)$, workspace 2"
"match:class ^(brave-browser)$, workspace 4, opacity 1.0"
"match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
"match:class ^steam_app_\\d+$, fullscreen on"
"match:class ^steam_app_\\d+$, workspace 5"
"match:class ^steam_app_\\d+$, idle_inhibit focus"
];
};
};
};
}