summary refs log tree commit diff
path: root/modules/base.nix
diff options
context:
space:
mode:
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";