* Fix the sshd and xserver jobs.

svn path=/nixos/trunk/; revision=7379
This commit is contained in:
Eelco Dolstra 2006-12-18 15:16:20 +00:00
parent 0e1082ffa9
commit 1852d493f4
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@ let
};
optional = option: service:
if config.get option then [service] else [];
if config.get option then [(makeJob service)] else [];
in

View File

@ -5,4 +5,9 @@
readOnlyRoot = false;
grubDevice = "/dev/hda";
};
services = {
sshd = {
enable = true;
};
};
}