Enable gnome-keyring on login
This commit is contained in:
parent
7dc4a387ef
commit
27fb80a1e5
2 changed files with 15 additions and 0 deletions
12
modules/services/pam/gnome-keyring.nix
Normal file
12
modules/services/pam/gnome-keyring.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.nki.services.pam;
|
||||
in
|
||||
{
|
||||
options.nki.services.pam.enableGnomeKeyring = mkEnableOption "Enable gnome-keyring on login";
|
||||
config = mkIf cfg.enableGnomeKeyring {
|
||||
security.pam.services.login.enableGnomeKeyring = true;
|
||||
security.pam.services.login.gnupg.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue