add keyring so 1password works properly again

This commit is contained in:
Christoph Hollizeck 2024-09-13 02:29:10 +02:00
parent 70fdb9173a
commit d2b4bd8012
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -0,0 +1,21 @@
{
options,
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.security.keyring;
in
{
options.${namespace}.security.keyring = with types; {
enable = mkBoolOpt true "Whether to enable gnome keyring.";
};
config = mkIf cfg.enable {
services.gnome.gnome-keyring.enable = true;
};
}