nixos/cage: enable polkit

Wayland requires polkit for access to logind, the tty and the DRI
device.
main
Martin Weinelt 2 years ago
parent 77e345142b
commit 14563c7dbc
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 2
      nixos/modules/services/wayland/cage.nix

@ -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

Loading…
Cancel
Save