moved openssh config to common
This commit is contained in:
parent
a99368bdb2
commit
b05f633d2e
2 changed files with 13 additions and 11 deletions
|
@ -51,17 +51,6 @@
|
|||
excludePackages = [ pkgs.xterm ];
|
||||
};
|
||||
|
||||
openssh = {
|
||||
enable = true;
|
||||
ports = [ 22 ];
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
AllowUsers = [ "leyla" ]; # Allows all users by default. Can be [ "user1" "user2" ]
|
||||
UseDns = true;
|
||||
X11Forwarding = false;
|
||||
};
|
||||
};
|
||||
|
||||
nfs.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue