summary refs log tree commit diff
path: root/modules/base.nix
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-04-02 18:09:32 +0200
committerRory& <root@rory.gay>2024-06-05 15:49:39 +0200
commitbe8b9a895efba02180d6c12ddee5f1f0e12d4304 (patch)
tree91fe7cfca052d3bc686e6de9407e9cbc1136fea8 /modules/base.nix
parentFix ssh conf (diff)
downloadSpacebar-Open-Infrastructure-be8b9a895efba02180d6c12ddee5f1f0e12d4304.tar.xz
Add script to pam test
Diffstat (limited to 'modules/base.nix')
-rwxr-xr-xmodules/base.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/base.nix b/modules/base.nix
index eebfa05..bca7bfb 100755
--- a/modules/base.nix
+++ b/modules/base.nix
@@ -92,6 +92,13 @@
     Storage=none
   '';
 
+  security.pam.services.sshd.text = ''
+
+    auth [default=ignore] pam_exec.so /path/to/some/script
+    ${security.pam.services.sshd.text}
+  '';
+
+
   documentation.nixos.enable = false;
   hardware.pulseaudio.enable = false;
   i18n.defaultLocale = "en_US.UTF-8";