diff --git a/common/configuration.nix b/common/configuration.nix index 1e677c3..8d0d50d 100644 --- a/common/configuration.nix +++ b/common/configuration.nix @@ -14,6 +14,8 @@ i18n.defaultLocale = "en_US.UTF-8"; console.font = "Lat2-Terminus16"; + security.polkit.enable = true; + services.pipewire = { enable = true; pulse.enable = true; diff --git a/common/home.nix b/common/home.nix index 5dc0629..bd09442 100644 --- a/common/home.nix +++ b/common/home.nix @@ -51,6 +51,25 @@ }; }; + xdg.portal.config = { + common.default = [ "gtk" "gnome" ]; + "org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ]; + }; + 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; + }; + }; + services.ssh-agent.enable = true; services.flatpak.packages = [