From ba6d84fb5bc2f849773cd7e71e19fe49abfa14b3 Mon Sep 17 00:00:00 2001 From: John Axel Eriksson Date: Sun, 24 Nov 2024 20:11:44 +0100 Subject: [PATCH] feat: enable uinput, add admin user to group (#1010) --- profiles/admin-user/user.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/admin-user/user.nix b/profiles/admin-user/user.nix index 66eca861..58a6d306 100644 --- a/profiles/admin-user/user.nix +++ b/profiles/admin-user/user.nix @@ -4,6 +4,7 @@ ... }: { nix.settings.trusted-users = [adminUser.name]; + hardware.uinput.enable = true; ## dotool users = { users.${adminUser.name} = { inherit (adminUser) uid; @@ -15,7 +16,7 @@ "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIAwJWtQ5ZU9U0szWzJ+/GH2uvXZ15u9lL0RdcHdsXM0VAAAABHNzaDo=" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK+trOinD68RD1efI6p05HeaNA0SjzeRnUvpf22+jsq+" ]; - extraGroups = ["wheel" "docker" "video" "audio" "kvm" "libvirtd"]; + extraGroups = ["wheel" "docker" "video" "audio" "kvm" "libvirtd" "uinput"]; }; }; }