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