From 1da6dcc9c931427802bd87388c600740c26a8d65 Mon Sep 17 00:00:00 2001 From: Jeremy Janella Date: Sat, 17 Oct 2026 05:52:00 -0400 Subject: [PATCH] thinkpad scaling --- .gitignore | 2 ++ client-configuration.nix | 4 +++- thinkpad-hardware-configuration.nix | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4d1139b..e65e67f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ *.env .gitea-actions-runner-token +*.qcow2 +result diff --git a/client-configuration.nix b/client-configuration.nix index 6eb85b7..dc34e19 100644 --- a/client-configuration.nix +++ b/client-configuration.nix @@ -203,6 +203,8 @@ bindel = [ ", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+" ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" + ", XF86MonBrightnessUp, exec, brightnessctl set 5%+" + ", XF86MonBrightnessDown, exec, brightnessctl set 5%-" ]; bindl = [ ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" @@ -354,7 +356,7 @@ users.users.jeremy = { isNormalUser = true; - extraGroups = [ "wheel" "docker" "wireshark" "adbusers" "plugdev" "networkmanager" ]; + extraGroups = [ "wheel" "docker" "wireshark" "adbusers" "plugdev" "networkmanager" "video" ]; shell = pkgs.bash; home = "/home/jeremy"; createHome = true; diff --git a/thinkpad-hardware-configuration.nix b/thinkpad-hardware-configuration.nix index 7b27cda..ede887b 100644 --- a/thinkpad-hardware-configuration.nix +++ b/thinkpad-hardware-configuration.nix @@ -35,5 +35,11 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + + home-manager.users.jeremy.wayland.windowManager.hyprland.settings = { + monitor = [ + "eDP-1, 1920x1200@60, 0x0, 1" + ]; + }; }