2025-01-05 21:20:31 -08:00
|
|
|
{ lib, ... }:
|
2024-09-02 18:16:22 -07:00
|
|
|
{
|
2025-01-05 21:20:31 -08:00
|
|
|
imports = [
|
|
|
|
../../users/youwen/hm.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
home.stateVersion = "24.05";
|
|
|
|
|
|
|
|
wayland.windowManager.hyprland.settings.monitor = lib.mkForce [
|
2024-09-21 20:36:06 -07:00
|
|
|
# "eDP-1,2560x1440@165,0x0,1.6"
|
|
|
|
"eDP-1, disable"
|
2024-09-29 17:31:35 -07:00
|
|
|
"HDMI-A-1,2560x1440@144,0x0,1.0"
|
2024-09-02 18:16:22 -07:00
|
|
|
];
|
2024-10-04 20:10:25 -07:00
|
|
|
|
2024-10-06 01:15:36 -07:00
|
|
|
# since we are using this as a "desktop" of sorts, we have no need to save
|
|
|
|
# power by using optimus. poor performance on external display, so we add
|
|
|
|
# this line to force hyprland to use the nvidia GPU only for rendering. can
|
|
|
|
# be removed if only using internal display
|
2024-10-06 01:09:21 -07:00
|
|
|
wayland.windowManager.hyprland.settings.env = [
|
|
|
|
"AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0"
|
|
|
|
];
|
|
|
|
|
2024-10-04 20:10:25 -07:00
|
|
|
programs.waybar.settings.mainBar.output = "HDMI-A-1";
|
2025-01-05 21:20:31 -08:00
|
|
|
|
2025-01-05 22:34:40 -08:00
|
|
|
liminalOS.desktop.hyprland.screenlocker.monitor = "HDMI-A-1";
|
2024-08-10 00:47:30 -07:00
|
|
|
}
|