sshd fix (users)
svn path=/nixos/branches/fix-style/; revision=14372
This commit is contained in:
parent
7b0071781d
commit
0d48a73987
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user