Polkit configuration

Improves polkit config in an attempt to get 1Password working with
Qutebrowser.
This commit is contained in:
Trevor Vallender 2023-07-02 09:58:35 +01:00
parent 10cfc4ebf5
commit 07faeb945c
2 changed files with 17 additions and 1 deletions

View File

@ -11,7 +11,17 @@
i18n.defaultLocale = "en_GB.UTF-8"; i18n.defaultLocale = "en_GB.UTF-8";
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";
security.polkit.enable = true; # security.polkit.enable = true;
systemd.user.services.polkit-gnome-authentication-agent-1 = {
Unit.Description = "polkit-gnome-authentication-agent-1";
Service = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
# Enable sound. # Enable sound.
security.rtkit.enable = true; security.rtkit.enable = true;

View File

@ -33,3 +33,9 @@ Host plan.foxsoft.net
IdentityFile /home/tsv/.ssh/mrsk_foxsoft IdentityFile /home/tsv/.ssh/mrsk_foxsoft
IdentitiesOnly yes IdentitiesOnly yes
Host dms.foxsoft.net
User mrsk
HostName dms.foxsoft.net
IdentityFile /home/tsv/.ssh/mrsk_foxsoft
IdentitiesOnly yes