about summary refs log tree commit diff
path: root/nixos/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/alpha')
-rw-r--r--nixos/alpha/configuration.nix12
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;