1
0
Fork 0

Apps: hacky fix for group error

This commit is contained in:
Aires 2024-12-19 15:57:35 -05:00
parent 9bb40cabac
commit c5b4ea0e92
3 changed files with 4 additions and 7 deletions

View file

@ -34,11 +34,6 @@ in
# For details, see https://github.com/Genymobile/scrcpy/blob/master/doc/v4l2.md
programs.adb.enable = true;
users.users = {
aires.extraGroups = lib.mkIf config.${namespace}.users.aires.enable [ "adbusers" ];
gremlin.extraGroups = lib.mkIf config.${namespace}.users.gremlin.enable [ "adbusers" ];
};
# Add a virtual camera to use with Droidcam
boot = {
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback.out ];

View file

@ -29,10 +29,11 @@ in
"input"
"networkmanager"
"plugdev"
"tss"
"tss" # For access to TPM devices
"wheel"
"users"
]; # tss group has access to TPM devices
(lib.mkIf config.programs.adb.enable "adbusers")
];
# Allow systemd services to run even while aires is logged out
linger = true;

View file

@ -29,6 +29,7 @@ in
"networkmanager"
"input"
"users"
(lib.mkIf config.programs.adb.enable "adbusers")
];
# Allow systemd services to keep running even while gremlin is logged out