restruct and adding gnome polkit, anyrun

This commit is contained in:
cnst
2024-07-06 14:17:47 +02:00
parent 7531426abe
commit f002bd7240
9 changed files with 122 additions and 5 deletions

View File

@@ -0,0 +1,19 @@
{pkgs, ...}: {
systemd.user.services.polkit-gnome-authentication-agent-1 = {
Unit.Description = "polkit-gnome-authentication-agent-1";
Install = {
WantedBy = ["graphical-session.target"];
Wants = ["graphical-session.target"];
After = ["graphical-session.target"];
};
Service = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
}

View File

@@ -0,0 +1,3 @@
{
services.udiskie.enable = true;
}