nixos-config/modules/nixos/security/keyring/default.nix
Christoph Hollizeck 0c5f9e6a67 improvement: git, hyprland, steam
added gitbutler, introduced maintenance for nixpkgs, cleaned up some files, keyring should now unlock ad login
2024-10-10 20:12:24 +02:00

23 lines
421 B
Nix

{
options,
config,
lib,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.wyrdgard) mkBoolOpt;
cfg = config.${namespace}.security.keyring;
in
{
options.${namespace}.security.keyring = {
enable = mkBoolOpt true "Whether to enable gnome keyring.";
};
config = mkIf cfg.enable {
services.gnome.gnome-keyring.enable = true;
security.pam.services.sddm.enableGnomeKeyring = true;
};
}