Bohdan's terminal configuration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nix,niri: authentication dialogs

bpavuk 3deea369 0580d870

+21 -1
+3 -1
nixos/desktop/niri.nix
··· 34 34 }; 35 35 }; 36 36 37 - security.polkit.enable = true; 37 + security.polkit = { 38 + enable = true; 39 + }; 38 40 programs.xwayland.enable = true; 39 41 programs.niri.enable = true; 40 42
+18
nixos/home/life/niri.nix
··· 30 30 home.sessionVariables = { 31 31 QT_QPA_PLATFORMTHEME = "qt6ct"; 32 32 }; 33 + 34 + systemd.user.services.polkit-gnome-authentication-agent-1 = { 35 + Unit = { 36 + Description = "polkit-gnome-authentication-agent-1"; 37 + Wants = [ "graphical-session.target" ]; 38 + After = [ "graphical-session.target" ]; 39 + }; 40 + Install = { 41 + WantedBy = [ "graphical-session.target" ]; 42 + }; 43 + Service = { 44 + Type = "simple"; 45 + ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; 46 + Restart = "on-failure"; 47 + RestartSec = 1; 48 + TimeoutStopSec = 10; 49 + }; 50 + }; 33 51 } 34 52