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
|
# For details, see https://github.com/Genymobile/scrcpy/blob/master/doc/v4l2.md
|
||||||
programs.adb.enable = true;
|
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
|
# Add a virtual camera to use with Droidcam
|
||||||
boot = {
|
boot = {
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback.out ];
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback.out ];
|
||||||
|
|
|
@ -29,10 +29,11 @@ in
|
||||||
"input"
|
"input"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"plugdev"
|
"plugdev"
|
||||||
"tss"
|
"tss" # For access to TPM devices
|
||||||
"wheel"
|
"wheel"
|
||||||
"users"
|
"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
|
# Allow systemd services to run even while aires is logged out
|
||||||
linger = true;
|
linger = true;
|
||||||
|
|
|
@ -29,6 +29,7 @@ in
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"input"
|
"input"
|
||||||
"users"
|
"users"
|
||||||
|
(lib.mkIf config.programs.adb.enable "adbusers")
|
||||||
];
|
];
|
||||||
|
|
||||||
# Allow systemd services to keep running even while gremlin is logged out
|
# Allow systemd services to keep running even while gremlin is logged out
|
||||||
|
|
Loading…
Reference in a new issue