data-access: Use non-deprecated attr names
This commit is contained in:
parent
dce6aebe6f
commit
8574914f3d
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
description = "Data Access";
|
description = "Data Access";
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
group = "users";
|
group = "users";
|
||||||
passwordFile = "/run/secrets/password_file";
|
hashedPasswordFile = "/run/secrets/password_file";
|
||||||
};
|
};
|
||||||
users.users.readonly = {
|
users.users.readonly = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
description = "Readonly data access";
|
description = "Readonly data access";
|
||||||
uid = 1001;
|
uid = 1001;
|
||||||
group = "sftponly";
|
group = "sftponly";
|
||||||
passwordFile = "/run/secrets/readonly_password_file";
|
hashedPasswordFile = "/run/secrets/readonly_password_file";
|
||||||
};
|
};
|
||||||
users.groups.sftponly = { gid = 10000; };
|
users.groups.sftponly = { gid = 10000; };
|
||||||
environment.systemPackages = [ pkgs.rsync pkgs.mktorrent (pkgs.writeShellScriptBin "create_torrent" ". /run/secrets/create_torrent") ];
|
environment.systemPackages = [ pkgs.rsync pkgs.mktorrent (pkgs.writeShellScriptBin "create_torrent" ". /run/secrets/create_torrent") ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue