fix: waydroid bug
This commit is contained in:
parent
65627a3ab5
commit
5303aaf8a6
2 changed files with 2 additions and 12 deletions
|
|
@ -82,18 +82,7 @@
|
||||||
pkgs.libwacom
|
pkgs.libwacom
|
||||||
pkgs.nitrokey-udev-rules
|
pkgs.nitrokey-udev-rules
|
||||||
];
|
];
|
||||||
waydroid-config = {
|
|
||||||
description = "Configure Waydroid Properties";
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
after = [ "waydroid-container.service" ];
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "oneshot";
|
|
||||||
ExecStart = pkgs.writeShellScript "waydroid-config" ''
|
|
||||||
echo "ro.hardware.gralloc=default" >> /var/lib/waydroid/waydroid_base.prop
|
|
||||||
echo "ro.hardware.egl=swiftshader" >> /var/lib/waydroid/waydroid_base.prop
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
users.groups.scard = { };
|
users.groups.scard = { };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
metrics-addr = "0.0.0.0:9323";
|
metrics-addr = "0.0.0.0:9323";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
virtualisation.waydroid.enable = true;
|
||||||
|
|
||||||
services.samba = {
|
services.samba = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue