add keyring so 1password works properly again

This commit is contained in:
Christoph Hollizeck 2024-09-13 02:29:10 +02:00
parent 80a4ed8f70
commit 3f4392c233

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;
};
}