mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Hotfix hyprlock pull rate on nvidia
This commit is contained in:
parent
ae5cbff75d
commit
d81fe4ef06
2 changed files with 13 additions and 3 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [./default.nix];
|
||||
|
||||
home-manager.users.seb = {
|
||||
|
|
@ -9,5 +13,12 @@
|
|||
];
|
||||
|
||||
wayland.windowManager.hyprland.settings.monitor = "DP-2,2560x1440@144,0x0,1";
|
||||
|
||||
programs.hyprlock.package = inputs.hyprlock.packages.${pkgs.system}.default.overrideAttrs {
|
||||
postPatch = ''
|
||||
substituteInPlace src/core/hyprlock.cpp \
|
||||
--replace "5000" "16"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue