diff --git a/modules/hm/hyprland.nix b/modules/hm/hyprland.nix index 9a1a463..58dc96b 100644 --- a/modules/hm/hyprland.nix +++ b/modules/hm/hyprland.nix @@ -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)$ diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix index d25cb73..a65b73d 100644 --- a/modules/nixos/hyprland.nix +++ b/modules/nixos/hyprland.nix @@ -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; };