Add: sftp ftpuser config
This commit is contained in:
parent
ee2ba3ddf6
commit
2a3cd04a31
3 changed files with 21 additions and 2 deletions
|
|
@ -9,7 +9,13 @@
|
|||
../modules/sites/levr.porzh.me.nix
|
||||
];
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false ;
|
||||
PubkeyAuthentication = true ;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
btrfs-progs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue