diff options
Diffstat (limited to 'configuration/default.nix')
| -rw-r--r-- | configuration/default.nix | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/configuration/default.nix b/configuration/default.nix index e7d2524..5630cf6 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -40,8 +40,22 @@ services.libinput.enable = true; services.openssh.enable = true; services.flatpak.enable = true; + services.gnome.gnome-keyring.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; + }; + }; - xdg.portal.enable = true; programs.nano.enable = false; programs.firefox.enable = true; programs.throne.enable = true; @@ -61,9 +75,9 @@ zmodload zsh/zprof autoload -Uz compinit if [[ -n ~/.zcompdump(#qN.mh+24) ]]; then - compinit + compinit else - compinit -C + compinit -C fi source ${pkgs.zsh-fast-syntax-highlighting}/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh ''; @@ -110,6 +124,7 @@ } ]; security.polkit.enable = true; + security.pam.services.login.enableGnomeKeyring = true; system.stateVersion = "25.11"; nix.settings.experimental-features = [ "nix-command" "flakes" ]; |
