Migrate aspi host config

This commit is contained in:
2025-04-22 22:47:36 +02:00
parent 05350e1c1c
commit 94498a0038
29 changed files with 349 additions and 518 deletions

View File

@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
...
}:
{
security.polkit.enable = true;
systemd = {
user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
wantedBy = [ "graphical-session.target" ];
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
}