From 87e91074ba5aaba5a416411f2d9c869cc0bdaade Mon Sep 17 00:00:00 2001 From: Felix Wittwer Date: Wed, 17 Nov 2021 12:41:37 +0100 Subject: [PATCH] Deny ssh for print user --- birne/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/birne/configuration.nix b/birne/configuration.nix index f6df96f..746c4db 100644 --- a/birne/configuration.nix +++ b/birne/configuration.nix @@ -52,6 +52,7 @@ shell = pkgs.fish; password = "print"; }; + services.openssh.extraConfig = "DenyUsers print"; services.xserver.displayManager.autoLogin = { enable = true;