2024-09-09 00:22:14 +00:00
|
|
|
{
|
2024-09-13 01:50:53 +00:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.custom.services.gnome-keyring;
|
|
|
|
in {
|
|
|
|
options.custom.services.gnome-keyring.enable = mkOption {default = false;};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
2024-09-28 17:44:57 +00:00
|
|
|
config = mkIf cfg.enable {
|
2024-09-09 00:22:14 +00:00
|
|
|
# https://wiki.archlinux.org/title/GNOME/Keyring
|
|
|
|
# https://gitlab.gnome.org/GNOME/gnome-keyring
|
2024-09-28 17:44:57 +00:00
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
home-manager.users.${config.custom.username}.services.gnome-keyring.enable = true;
|
2024-09-09 00:22:14 +00:00
|
|
|
};
|
|
|
|
}
|