This commit is contained in:
parent
74ee7da34b
commit
1a8e0c9a1d
1 changed files with 10 additions and 1 deletions
|
@ -260,7 +260,16 @@
|
|||
user = "kb";
|
||||
dataDir = "/home/kb/sync";
|
||||
configDir = "/home/kb/.config/syncthing";
|
||||
};
|
||||
};
|
||||
|
||||
# SSH
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
ports = [ 4125 ];
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
services.nix-serve = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue