16 lines
403 B
Nix
16 lines
403 B
Nix
{ lib, config, pkgs, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.desktop.gnome-keyring;
|
|
in {
|
|
options.modules.desktop.gnome-keyring = {
|
|
enable = mkEnableOption "Enable gnome-keyring, a password store";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
user.packages = with pkgs; [ seahorse ];
|
|
services.gnome.gnome-keyring.enable = true;
|
|
security.pam.services.login.enableGnomeKeyring = true;
|
|
};
|
|
}
|