From 46715ed381535bdd38e516467e8af4ec74d977d9 Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 14 Feb 2022 23:59:17 +0900 Subject: feat: setup pam-gnupg --- nixos/alpha/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'nixos') 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; -- cgit 1.4.1