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

View file

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