17 lines
513 B
Nix
17 lines
513 B
Nix
{
|
|
users.users.archbox = {
|
|
group = "sftponly";
|
|
isNormalUser = true;
|
|
home = "/sftp_jail/archbox";
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIERtfY26/h5xl+bzZm2htR4+Wd879DvZRPHsosFaEqIW gaming@DESKTOP-4ACM3JU"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJTWN+J6qFf60b58AIEXW/yuDwb7bwoyONKvM10kolWU archbox"
|
|
];
|
|
};
|
|
|
|
fileSystems."/sftp_jail/archbox/mirror/saves" = {
|
|
device = "/mnt/data/private/nintendo/switch/savegames";
|
|
options = [ "bind" ];
|
|
};
|
|
}
|