Skip to content

Commit

Permalink
feat: enable uinput, add admin user to group (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnae authored Nov 24, 2024
1 parent 35e5d1d commit ba6d84f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion profiles/admin-user/user.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
...
}: {
nix.settings.trusted-users = [adminUser.name];
hardware.uinput.enable = true; ## dotool
users = {
users.${adminUser.name} = {
inherit (adminUser) uid;
Expand All @@ -15,7 +16,7 @@
"[email protected] AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIAwJWtQ5ZU9U0szWzJ+/GH2uvXZ15u9lL0RdcHdsXM0VAAAABHNzaDo="
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK+trOinD68RD1efI6p05HeaNA0SjzeRnUvpf22+jsq+"
];
extraGroups = ["wheel" "docker" "video" "audio" "kvm" "libvirtd"];
extraGroups = ["wheel" "docker" "video" "audio" "kvm" "libvirtd" "uinput"];
};
};
}

0 comments on commit ba6d84f

Please sign in to comment.