always allow dbus connections from root
needed for cage-xtwrapper
This commit is contained in:
parent
bdde47425b
commit
dff157e297
1 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
systemProfiles,
|
systemProfiles,
|
||||||
specialArgs,
|
specialArgs,
|
||||||
|
@ -95,6 +96,17 @@
|
||||||
|
|
||||||
networking.hostName = "nixdesk";
|
networking.hostName = "nixdesk";
|
||||||
|
|
||||||
|
# for running waydroid as root, needed for cage-xtmapper
|
||||||
|
services.dbus.packages = [
|
||||||
|
(pkgs.writeTextDir "/etc/dbus-1/session.d/dbus-allow-root.conf" ''
|
||||||
|
<busconfig>
|
||||||
|
<policy context="mandatory">
|
||||||
|
<allow user="root"/>
|
||||||
|
</policy>
|
||||||
|
</busconfig>
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
# rocmSupport = true;
|
# rocmSupport = true;
|
||||||
allowUnfreePredicate = pkg:
|
allowUnfreePredicate = pkg:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue