Add: sftp ftpuser config

This commit is contained in:
DuN0z 2025-09-26 08:36:37 +02:00
parent ee2ba3ddf6
commit 2a3cd04a31
3 changed files with 21 additions and 2 deletions

View file

@ -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