about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/pam_ussh
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2022-03-13 17:20:23 +0000
committerLuke Granger-Brown <git@lukegb.com>2022-03-13 17:31:46 +0000
commit1853015550a78acbc3e9d090d174120796c4b784 (patch)
tree0b549e8b52f9f577b14dc1de20b7202641ccdce9 /pkgs/os-specific/linux/pam_ussh
parentf63d93bc3d0ad73b24b2cf9c0ee0381161071395 (diff)
nixos/pam: add support for pam-ussh
pam-ussh allows authorizing using an SSH certificate stored in your
SSH agent, in a similar manner to pam-ssh-agent-auth, but for
certificates rather than raw public keys.
Diffstat (limited to 'pkgs/os-specific/linux/pam_ussh')
-rw-r--r--pkgs/os-specific/linux/pam_ussh/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/pam_ussh/default.nix b/pkgs/os-specific/linux/pam_ussh/default.nix
index 499239500acce..889c8bc6f57cf 100644
--- a/pkgs/os-specific/linux/pam_ussh/default.nix
+++ b/pkgs/os-specific/linux/pam_ussh/default.nix
@@ -2,6 +2,7 @@
 , fetchFromGitHub
 , pam
 , lib
+, nixosTests
 }:
 
 buildGoModule rec {
@@ -54,6 +55,8 @@ buildGoModule rec {
     runHook postInstall
   '';
 
+  passthru.tests = { inherit (nixosTests) pam-ussh; };
+
   meta = with lib; {
     homepage = "https://github.com/uber/pam-ussh";
     description = "PAM module to authenticate using SSH certificates";