Commit Graph

4 Commits

Author SHA1 Message Date
m3tm3re 9bd6d38a95 feat(hyprland): update to Lua config syntax after flake update
Flake inputs updated (home-manager → 7519f615, nixpkgs → d2339023, etc.),
now configType = "lua" is supported.

Changes to Hyprland settings:
- monitor: replaced legacy comma-string format with Lua table syntax
  using _args + {output, mode, position, scale} for hl.monitor({...})
  calls. Home Manager now generates correct hl.monitor() calls instead
  of passing raw comma strings.
- workspace: kept simple "id, monitor:X, default:true" string format
  for basic monitor bindings (compatible with hl.workspace(...)).
- workspace_rule: added separate workspace_rule entries using
  _args + {workspace, monitor, no_border, no_rounding} for special
  cases (e.g. WS 5 border:false,rounding:false → no_border=true,
  no_rounding=true as per current Hyprland Lua docs).
- window_rule: updated workspace values from int to string ("1",
  "2", etc.), updated fullscreen from "on" to boolean true, kept
  opacity as string "1.0" per Hyprland docs, kept idle_inhibit as
  string "focus".
- on hook: kept as-is (hyprland.start + tuxedo-backlight).

Validate: nix-instantiate --parse passes for both host files.
2026-05-18 19:00:26 +02:00
m3tm3re 0d74e38ae7 feat(hyprland): migrate home configs to lua configType
- Switch from hyprlang (hyprland.conf) to lua (hyprland.lua) config format
- Use configType = "lua" explicitly for clarity
- Replace exec-once with on = { _args = [...] } hook for startup commands
- Convert windowrule strings to window_rule attribute-set syntax with
  mkLuaInline match objects and option sets per Home Manager module
- Change mkIf guard from config.desktop.wm.hyprland.enable to
  config.wayland.windowManager.hyprland.enable (correct option path)
- Preserve all existing host-specific monitor layouts and window rules
- Both configs: m3-ares (eDP-1 + HDMI) and m3-kratos (DP-1 + DP-2)
- Run alejandra after changes; parse validation passes (exit 0)

Refs:
  - https://github.com/nix-community/home-manager/blob/master/modules/services/window-managers/hyprland.nix
  - https://wiki.hypr.land/Configuring/Start/
2026-05-18 18:47:22 +02:00
m3ta-chiron 5cbb975c78 feat: complete host home.nix files + add m3-daedalus, clean up m3tam3re.nix
- hosts/m3-kratos/home.nix: XDG/MIME defaults + dual DP Hyprland monitors
- hosts/m3-ares/home.nix: XDG/MIME defaults + eDP+HDMI Hyprland monitors
- hosts/m3-daedalus/home.nix: XDG/MIME defaults (no Hyprland)
- hosts/common/users/m3tam3re.nix: refactored hostFlags into let binding,
  added m3-daedalus profile (desktop/coding+media, no gaming/Hyprland)
2026-05-02 10:41:12 +02:00
m3ta-chiron ab1bdc9848 feat: integrate m3ta-home for centralized user profiles 2026-05-02 09:53:27 +02:00