sshd fix (users)

svn path=/nixos/branches/fix-style/; revision=14372
This commit is contained in:
Marc Weber 2009-03-06 12:26:13 +00:00
parent 7b0071781d
commit 0d48a73987

View File

@ -100,18 +100,20 @@ mkIf config.services.sshd.enable {
options
];
users = {
extraUsers = [
{ name = "sshd";
uid = (import ../system/ids.nix).uids.sshd;
description = "SSH privilege separation user";
home = "/var/empty";
}
];
};
services = {
extraJobs = [{
name = "sshd";
users = [
{ name = "sshd";
uid = (import ../system/ids.nix).uids.sshd;
description = "SSH privilege separation user";
home = "/var/empty";
}
];
job = ''
description "SSH server"