use a different polkit agent, module
This commit is contained in:
parent
1096b13241
commit
56358b2922
4 changed files with 33 additions and 2 deletions
|
@ -22,7 +22,7 @@ each host should have these files:
|
||||||
- better theming for hyprlock, rofi, dunst (accent for hyprlock & dunst, variants for rofi)
|
- better theming for hyprlock, rofi, dunst (accent for hyprlock & dunst, variants for rofi)
|
||||||
- some way for border radius, border, tranparency theme options
|
- some way for border radius, border, tranparency theme options
|
||||||
- tags for pip and popups in hyprland config
|
- tags for pip and popups in hyprland config
|
||||||
- make wl-clip-persist, polkit agent, and networkmanager applet systemd services?
|
- make wl-clip-persist and networkmanager applet systemd services?
|
||||||
- gtk cursors are MESSED UP. top priority rn
|
- gtk cursors are MESSED UP. top priority rn
|
||||||
- niri.. yum
|
- niri.. yum
|
||||||
- do lockscreen better somehow
|
- do lockscreen better somehow
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
|
|
||||||
swww.enable = true;
|
swww.enable = true;
|
||||||
gnome-keyring.enable = true;
|
gnome-keyring.enable = true;
|
||||||
|
mate-polkit.enable = true;
|
||||||
dunst.enable = true;
|
dunst.enable = true;
|
||||||
rofi.enable = true;
|
rofi.enable = true;
|
||||||
nwg-drawer.enable = true;
|
nwg-drawer.enable = true;
|
||||||
|
|
|
@ -217,7 +217,6 @@ in {
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"${lib.getExe pkgs.networkmanagerapplet}" # network applet
|
"${lib.getExe pkgs.networkmanagerapplet}" # network applet
|
||||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" # polkit agent
|
|
||||||
"${lib.getExe pkgs.wl-clip-persist} --clipboard regular" # to fix wl clipboards disappearing
|
"${lib.getExe pkgs.wl-clip-persist} --clipboard regular" # to fix wl clipboards disappearing
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
31
modules/desktop/mate-polkit.nix
Normal file
31
modules/desktop/mate-polkit.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
let
|
||||||
|
cfg = config.modules.desktop.mate-polkit;
|
||||||
|
in {
|
||||||
|
options.modules.desktop.mate-polkit = {
|
||||||
|
enable = mkEnableOption "Enable the MATE desktop environment polkit authentication agent";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
hm.systemd.user.services.mate-polkit = {
|
||||||
|
Unit = {
|
||||||
|
Description = "the MATE desktop environment polkit authentication agent";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
Install = {
|
||||||
|
WantedBy = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
Service = {
|
||||||
|
Type = "simple";
|
||||||
|
ExecStart = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue