Add a role for gnome keyring.

This commit is contained in:
Tom Alexander
2025-11-24 23:01:40 -05:00
parent d0968ab836
commit ddd3200ca6
3 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
gnome_keyring.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install gnome_keyring.";
};
};
config = lib.mkIf (config.me.gnome_keyring.enable && config.me.graphical) {
services.gnome.gnome-keyring.enable = true;
};
}