dashboard
repositories
filestore
activity
search
login
main
/
Dotfiles
mirror of
https://github.com/Chizi123/Dotfiles.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
No need to install nixos modules
Joel Grunbaum
3 days ago
658d1e9fb833b3a3b4413e696bc0d29a2025db66
[Dotfiles.git]
/
nixos
/
ssh.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, libs, pkgs, modulesPath, ... }:
{
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
};
};
}