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.
This commit is contained in:
36
hosts/m3-ares/home.nix
Normal file
36
hosts/m3-ares/home.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user