fix gonme-keyring

This commit is contained in:
Henri Dohmen 2025-06-01 12:07:45 +02:00
parent 0a97130655
commit c26cc20f57
3 changed files with 9 additions and 10 deletions

8
flake.lock generated
View file

@ -101,11 +101,11 @@
]
},
"locked": {
"lastModified": 1748726222,
"narHash": "sha256-MPhNInJtfk5gm1NOqoo5+M/L8jRikRqhUhdXH8IIUpA=",
"lastModified": 1748771430,
"narHash": "sha256-3XczjH1gjIBRpGHV1sGvCtJNpIoySeMkegE9c+yJ5dQ=",
"ref": "refs/heads/main",
"rev": "f1246d892acab2e3fcf533d669c0f6033fb72d9d",
"revCount": 5,
"rev": "cf7fb1e8721ca5543fc88e35e434d6fba3daed75",
"revCount": 6,
"type": "git",
"url": "ssh://git@github.com/henridoh/nixos-config-hidden"
},

View file

@ -44,7 +44,7 @@ in
Description = "protonmail bridge";
};
Install = {
wantedBy = [ "graphical-session.target" ];
WantedBy = [ "graphical-session.target" ];
};
Service =
let
@ -53,9 +53,7 @@ in
{
ExecStart = "${lib.getExe cfg.package} --noninteractive ${logLevel}";
Restart = "always";
RestartSec = "2s";
Environment = [ "PATH=${lib.makeBinPath (cfg.path ++ [ cfg.package ])}" ];
path = cfg.path;
};
};
};

View file

@ -4,6 +4,7 @@
home.packages = with pkgs; [
seahorse
libsecret
gnome-keyring
];
programs.gpg = {
enable = true;
@ -13,8 +14,8 @@
enableSshSupport = true;
pinentry.package = pkgs.pinentry-gtk2;
};
services.gnome-keyring = {
enable = true;
};
};
services.gnome.gnome-keyring = {
enable = true;
};
}