hyprland: Add polkit_gnome

This is necessary so GUI applications won't seem broken when they're
unable to show an authentication prompt.
This commit is contained in:
Donovan Glover 2023-06-03 10:54:35 -04:00
parent 73e5e99ccd
commit cad75efb46
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -4,6 +4,10 @@
programs.hyprland.enable = true;
services.udisks2.enable = true;
environment.systemPackages = with pkgs; [
polkit_gnome
];
services.xserver = {
enable = true;
displayManager.lightdm.enable = false;
@ -27,6 +31,7 @@
exec-once = fcitx5 # Japanese input support
exec-once = mullvad-vpn
exec-once = wl-paste -p --watch wl-copy -pc # Disable middle click paste
exec-once = ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1
input {
kb_layout = us