mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 14:09:51 -07:00
refactor: massively overhaul home manager module system
This commit is contained in:
parent
b2270408fc
commit
a506d2aed4
64 changed files with 5201 additions and 64 deletions
20
reference/hosts/adrastea/home-manager-extras/default.nix
Normal file
20
reference/hosts/adrastea/home-manager-extras/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
wayland.windowManager.hyprland.settings.monitor = pkgs.lib.mkForce [
|
||||
# "eDP-1,2560x1440@165,0x0,1.6"
|
||||
"eDP-1, disable"
|
||||
"HDMI-A-1,2560x1440@144,0x0,1.0"
|
||||
];
|
||||
wayland.windowManager.hyprland.settings.cursor.no_hardware_cursors = true;
|
||||
|
||||
# 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"
|
||||
];
|
||||
|
||||
programs.waybar.settings.mainBar.output = "HDMI-A-1";
|
||||
programs.hyprlock.settings.background.monitor = lib.mkForce "HDMI-A-1";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue