mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-08-05 12:02:26 -07:00
feat: some laptop tweaks
This commit is contained in:
parent
a52c9b3b65
commit
8c56482975
2 changed files with 27 additions and 19 deletions
|
@ -78,15 +78,15 @@
|
|||
powerManagement.finegrained = false;
|
||||
# nvidiaSettings = true;
|
||||
open = true;
|
||||
# prime = {
|
||||
# amdgpuBusId = "PCI:4:0:0";
|
||||
# nvidiaBusId = "PCI:1:0:0";
|
||||
# # offload = {
|
||||
# # enable = true;
|
||||
# # enableOffloadCmd = true;
|
||||
# # };
|
||||
# sync.enable = true;
|
||||
# };
|
||||
prime = {
|
||||
amdgpuBusId = "PCI:4:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
# offload = {
|
||||
# enable = true;
|
||||
# enableOffloadCmd = true;
|
||||
# };
|
||||
sync.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.keyd = {
|
||||
|
|
|
@ -7,23 +7,31 @@
|
|||
home.stateVersion = "24.05";
|
||||
|
||||
wayland.windowManager.hyprland.settings.monitor = lib.mkForce [
|
||||
# "eDP-1,2560x1440@165,0x0,1.6"
|
||||
"eDP-1, disable"
|
||||
"eDP-1,2560x1440@165,0x0,1.6"
|
||||
# "eDP-1, disable"
|
||||
# "HDMI-A-1,2560x1440@144,0x0,1.0"
|
||||
"HDMI-A-1,1920x1080@60,0x0,1.0"
|
||||
# "HDMI-A-1,1920x1080@60,0x0,1.0"
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland.settings.input = {
|
||||
sensitivity = lib.mkForce 0.0;
|
||||
touchpad = {
|
||||
natural_scroll = true;
|
||||
scroll_factor = 0.8;
|
||||
};
|
||||
};
|
||||
|
||||
# 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
|
||||
wayland.windowManager.hyprland.settings.env = [
|
||||
"AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0"
|
||||
];
|
||||
# wayland.windowManager.hyprland.settings.env = [
|
||||
# "AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0"
|
||||
# ];
|
||||
|
||||
programs.waybar.settings.mainBar.output = "HDMI-A-1";
|
||||
# programs.waybar.settings.mainBar.output = "eDP-1";
|
||||
# programs.waybar.settings.mainBar.output = "HDMI-A-1";
|
||||
programs.waybar.settings.mainBar.output = "eDP-1";
|
||||
|
||||
liminalOS.desktop.hyprland.screenlocker.monitor = "HDMI-A-1";
|
||||
# liminalOS.desktop.hyprland.screenlocker.monitor = "eDP-1";
|
||||
# liminalOS.desktop.hyprland.screenlocker.monitor = "HDMI-A-1";
|
||||
liminalOS.desktop.hyprland.screenlocker.monitor = "eDP-1";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue