Skip to content

Commit

Permalink
fix: sshd config
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Dec 13, 2023
1 parent 73f0f23 commit e09448d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/ssh.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{lib, ...}: {
environment.etc."ssh/ssh_config.d/nixos.conf".text = ''
PermitRootLogin no;
X11Forwarding no;
Banner /etc/banner;
environment.etc."ssh/sshd_config.d/nixos.conf".text = ''
PermitRootLogin no
X11Forwarding no
Banner /etc/banner
'';
}

0 comments on commit e09448d

Please sign in to comment.