From 69446a219e58e3a58c335604061f436efed49a41 Mon Sep 17 00:00:00 2001 From: joshashtondev Date: Fri, 31 Jul 2026 02:15:47 -0600 Subject: [PATCH] =?UTF-8?q?nixos:=20gen=20187=20@=20nix-pad=20=E2=80=94=20?= =?UTF-8?q?2026-07-31=2002:15=2026.05.20260724.597283a=20(Yarara)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/thinkpad/hardware.nix | 1 + system/security/default.nix | 5 +++++ system/security/users.nix | 7 +++++++ 3 files changed, 13 insertions(+) diff --git a/hosts/thinkpad/hardware.nix b/hosts/thinkpad/hardware.nix index a4acb48..8f50c05 100644 --- a/hosts/thinkpad/hardware.nix +++ b/hosts/thinkpad/hardware.nix @@ -35,6 +35,7 @@ services.udev.extraRules = '' SUBSYSTEM=="video4linux", ATTRS{interface}=="Integrated IR Camera", ATTR{index}=="0", SYMLINK+="video-ir" + KERNEL=="uinput", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput" ''; services.howdy = { diff --git a/system/security/default.nix b/system/security/default.nix index 9979d01..296bfa5 100644 --- a/system/security/default.nix +++ b/system/security/default.nix @@ -18,4 +18,9 @@ tctiEnvironment.enable = true; }; }; + + + services.udev.extraRules = '' + KERNEL=="uinput", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput" + ''; } diff --git a/system/security/users.nix b/system/security/users.nix index c9f4f8f..ed3967e 100644 --- a/system/security/users.nix +++ b/system/security/users.nix @@ -2,6 +2,7 @@ { users.groups.jashton = {}; + users.groups.greetd = {}; users.users.jashton = { isNormalUser = true; description = "Josh Ashton"; @@ -14,4 +15,10 @@ users.users.root = { shell = pkgs.zsh; }; + + users.extraUsers.greetd = { + isSystemUser = true; + group = "greetd"; + extraGroups = [ "input" ]; + }; }