nix-config/home/modules/keyring.nix
2025-06-03 20:04:44 +02:00

20 lines
305 B
Nix

{
config,
lib,
...
}:
with lib;
let
cfg = config.dadada.home.keyring;
in
{
options.dadada.home.keyring = {
enable = mkEnableOption "Enable keyring config";
};
config = mkIf cfg.enable {
services.gnome-keyring = {
enable = false;
components = [ "secrets" ];
};
};
}