mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 17:46:35 +01:00
add ftp
This commit is contained in:
parent
340f40009a
commit
18b26ea58b
1 changed files with 14 additions and 0 deletions
|
@ -44,6 +44,20 @@
|
|||
users.users.jopejoe1.hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC";
|
||||
users.users.root.hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC";
|
||||
|
||||
services.vsftpd = {
|
||||
enable = true;
|
||||
writeEnable = true;
|
||||
userlistEnable = true;
|
||||
userlist = [ "backupftp" ];
|
||||
localUsers = true;
|
||||
chrootlocalUser = true;
|
||||
};
|
||||
|
||||
users.users.backupftp = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "backupPassword";
|
||||
};
|
||||
|
||||
disko.devices = {
|
||||
disk = {
|
||||
vdb = {
|
||||
|
|
Loading…
Reference in a new issue