nix-config/home/modules/keyring.nix
2022-08-04 21:13:54 +02:00

18 lines
310 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 = [ "pkcs11" "secrets" ];
};
};
}