From d13a8ccd6ef02290b9e0a5a9d895af5c2e155f83 Mon Sep 17 00:00:00 2001 From: imnyang Date: Mon, 21 Sep 2026 17:03:42 +0900 Subject: [PATCH] wow --- hosts/machine/ena/home/config/hyprland.nix | 19 ++++++++++++++++++- hosts/machine/ena/home/packages.nix | 1 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/hosts/machine/ena/home/config/hyprland.nix b/hosts/machine/ena/home/config/hyprland.nix index 02149f3..7bfdac8 100644 --- a/hosts/machine/ena/home/config/hyprland.nix +++ b/hosts/machine/ena/home/config/hyprland.nix @@ -490,6 +490,18 @@ EOF local mainMod = "SUPER" -- Hyprland 0.55+ Lua configuration. + -- Enable VRR on the built-in 120 Hz panel only. External outputs use the + -- fallback rule below and keep their own/default VRR capability. + hl.monitor({ + output = "eDP-1", + mode = "preferred", + position = "auto", + scale = 1.33, + vrr = 1, + }) + + -- Newly detected outputs are enabled at their preferred mode and placed + -- automatically to the right of the existing layout. hl.monitor({ output = "", mode = "preferred", @@ -837,7 +849,12 @@ in }; xdg.configFile = { - "hypr/hyprland.lua".text = hyprlandLuaConfig; + "hypr/hyprland.lua" = { + text = hyprlandLuaConfig; + # A previous activation left a regular file and a .backup2 copy. Keep + # that existing backup and let Home Manager refresh the managed config. + force = true; + }; "hypr/colors.conf".text = colorsConfig; "hypr/hypridle.conf".source = "${upstream}/hypr/hypridle.conf"; "hypr/hyprlock.conf".text = hyprlockConfig; diff --git a/hosts/machine/ena/home/packages.nix b/hosts/machine/ena/home/packages.nix index b1167ce..e83e0f3 100644 --- a/hosts/machine/ena/home/packages.nix +++ b/hosts/machine/ena/home/packages.nix @@ -29,6 +29,7 @@ with pkgs; # inputs.waterfox.packages.${pkgs.system}.waterfox gnome-network-displays element-desktop + parsec-bin (tetrio-desktop.override { withTetrioPlus = true; tetrio-plus = tetrioPlus;