nixos/cage: enable polkit

Wayland requires polkit for access to logind, the tty and the DRI
device.
This commit is contained in:
Martin Weinelt 2022-01-26 23:04:24 +01:00
parent 77e345142b
commit 14563c7dbc
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -81,6 +81,8 @@ in {
};
};
security.polkit.enable = true;
security.pam.services.cage.text = ''
auth required pam_unix.so nullok
account required pam_unix.so