Apps: hacky fix for group error
This commit is contained in:
parent
9bb40cabac
commit
c5b4ea0e92
|
@ -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 ];
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue