Hyprland: unstable pkg

This commit is contained in:
Filippo Berto 2024-04-14 16:29:14 +02:00
parent 9192ff91dc
commit 69b77af215
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 10 additions and 9 deletions

View file

@ -37,7 +37,7 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
# monitor=name,resolution,position,scale
monitor,preferred,auto,auto
monitor=,preferred,auto,auto
${
if nixosConfig.networking.hostName == "thor" then
''
@ -81,10 +81,10 @@
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
# device {
# name=keychron-k1-max-keyboard
# kb_layout=us
# }
device {
name=keychron-k1-max-keyboard
kb_layout=us
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
@ -153,9 +153,9 @@
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device:epic-mouse-v1 {
sensitivity = -0.5
}
# device:epic-mouse-v1 {
# sensitivity = -0.5
# }
# Example windowrule v1
# windowrule = float, ^(kitty)$

View file

@ -1,6 +1,7 @@
{ config, ... }: {
{ config, pkgs, ... }: {
programs.hyprland = {
enable = true;
package = pkgs.unstable_pkgs.hyprland;
enableNvidiaPatches = builtins.elem "nvidia" config.services.xserver.videoDrivers;
xwayland.enable = true;
};