mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +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:
|
optional = option: service:
|
||||||
if config.get option then [service] else [];
|
if config.get option then [(makeJob service)] else [];
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -5,4 +5,9 @@
|
|||||||
readOnlyRoot = false;
|
readOnlyRoot = false;
|
||||||
grubDevice = "/dev/hda";
|
grubDevice = "/dev/hda";
|
||||||
};
|
};
|
||||||
|
services = {
|
||||||
|
sshd = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user