mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
* Fix the sshd and xserver jobs.
svn path=/nixos/trunk/; revision=7379
This commit is contained in:
parent
0e1082ffa9
commit
1852d493f4
@ -7,7 +7,7 @@ let
|
||||
};
|
||||
|
||||
optional = option: service:
|
||||
if config.get option then [service] else [];
|
||||
if config.get option then [(makeJob service)] else [];
|
||||
|
||||
in
|
||||
|
||||
|
@ -5,4 +5,9 @@
|
||||
readOnlyRoot = false;
|
||||
grubDevice = "/dev/hda";
|
||||
};
|
||||
services = {
|
||||
sshd = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user