diff options
author | K900 <me@0upti.me> | 2022-10-12 20:28:53 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2022-10-12 20:28:53 +0300 |
commit | 37a64594bde38d4b3dda3298f826642b6131bfd9 (patch) | |
tree | ce5525a830155eb493fd7dd15b82ecfff7e080bd | |
parent | eb7e4115061f70b1e96c3174239985df5f3f6808 (diff) |
nixos/plasma-bigscreen: enable uinput correctly
This is required for plasma-remotecontrollers to actually work. Make sure to also add your user to the `uinput` group.
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/plasma5.nix | 4 | ||||
-rw-r--r-- | nixos/tests/plasma-bigscreen.nix | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index aa1359bf35847..44faa19bc22ab 100644 --- a/nixos/modules/services/x11/desktop-managers/plasma5.nix +++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix @@ -623,7 +623,9 @@ in ]; services.xserver.displayManager.sessionPackages = [ pkgs.plasma5Packages.plasma-bigscreen ]; - services.udev.packages = [ pkgs.plasma5Packages.plasma-remotecontrollers ]; + + # required for plasma-remotecontrollers to work correctly + hardware.uinput.enable = true; }) ]; } diff --git a/nixos/tests/plasma-bigscreen.nix b/nixos/tests/plasma-bigscreen.nix index ab459b6bffbea..1c61cafcbff33 100644 --- a/nixos/tests/plasma-bigscreen.nix +++ b/nixos/tests/plasma-bigscreen.nix @@ -18,6 +18,8 @@ import ./make-test-python.nix ({ pkgs, ...} : enable = true; user = "alice"; }; + + users.users.alice.extraGroups = ["uinput"]; }; testScript = { nodes, ... }: let |