mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 16:20:42 +00:00
Enable sshd for vbox host
This commit is contained in:
parent
7f1b8b5d38
commit
8faa8c7197
2 changed files with 15 additions and 1 deletions
10
modules/services/ssh.nix
Normal file
10
modules/services/ssh.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{...}: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "prohibit-password";
|
||||
PasswordAuthentication = false;
|
||||
X11Forwarding = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue