diff options
author | sefidel <contact@sefidel.net> | 2022-02-14 23:59:17 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-02-14 23:59:17 +0900 |
commit | 46715ed381535bdd38e516467e8af4ec74d977d9 (patch) | |
tree | 4bf82cdc10050e398526cafa894d6e9e4364455f /nixos/alpha/configuration.nix | |
parent | 579ba4120118effb79d6d37dd34b620cb0af34e2 (diff) | |
download | nixrc-46715ed381535bdd38e516467e8af4ec74d977d9.tar.gz nixrc-46715ed381535bdd38e516467e8af4ec74d977d9.zip |
feat: setup pam-gnupg
Diffstat (limited to 'nixos/alpha/configuration.nix')
-rw-r--r-- | nixos/alpha/configuration.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 79b3e81..9f770b4 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -8,6 +8,18 @@ doas.enable = true; doas.wheelNeedsPassword = false; sudo.wheelNeedsPassword = false; + + pam.services = { + login.gnupg.enable = true; + login.gnupg.storeOnly = true; + + greetd.gnupg.enable = true; + greetd.gnupg.storeOnly = true; + + swaylock.gnupg.enable = true; + i3lock.gnupg.enable = true; + i3lock-color.gnupg.enable = true; + }; }; boot.kernelPackages = pkgs.linuxPackages_5_15; |