mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-09 22:41:07 +01:00
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:
parent
73e5e99ccd
commit
cad75efb46
@ -4,6 +4,10 @@
|
|||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
polkit_gnome
|
||||||
|
];
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager.lightdm.enable = false;
|
displayManager.lightdm.enable = false;
|
||||||
@ -27,6 +31,7 @@
|
|||||||
exec-once = fcitx5 # Japanese input support
|
exec-once = fcitx5 # Japanese input support
|
||||||
exec-once = mullvad-vpn
|
exec-once = mullvad-vpn
|
||||||
exec-once = wl-paste -p --watch wl-copy -pc # Disable middle click paste
|
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 {
|
input {
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
|
Loading…
Reference in New Issue
Block a user