summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominique Martinet @ jormungand <asmadeus@codewreck.org>2020-10-02 17:09:57 +0200
committerDominique Martinet @ jormungand <asmadeus@codewreck.org>2020-10-02 17:09:57 +0200
commit9dab5121fd286707e99817e63618d8b99b967f8e (patch)
tree8ec0734034c04ffee27dc0bc7130d17cf83018fd
parent8145db3fc83bc231b920c0032a9dc93834ffd80f (diff)
otp: only enable oath for sshd
-rw-r--r--profiles/otp.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/otp.nix b/profiles/otp.nix
index a8207a4..8255add 100644
--- a/profiles/otp.nix
+++ b/profiles/otp.nix
@@ -7,5 +7,5 @@
gen-oath-safe
];
- security.pam.oath.enable = true;
+ security.pam.services.sshd.oathAuth = true;
}