2007-11-05 08:54:30 +00:00
|
|
|
{
|
|
|
|
pkgs, config
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
configFile = ./xfs.conf;
|
2008-01-14 11:24:36 +00:00
|
|
|
startingDependency = if config.services.gw6c.enable && config.services.gw6c.autorun then "gw6c" else "network-interfaces";
|
2007-11-05 08:54:30 +00:00
|
|
|
in
|
|
|
|
rec {
|
|
|
|
name = "xfs";
|
|
|
|
groups = [];
|
|
|
|
users = [];
|
|
|
|
job = "
|
|
|
|
description = \"X Font Server\"
|
|
|
|
start on ${startingDependency}/started
|
2007-12-25 12:16:38 +00:00
|
|
|
stop on shutdown
|
2007-11-05 08:54:30 +00:00
|
|
|
|
|
|
|
respawn ${pkgs.xorg.xfs}/bin/xfs -config ${configFile}
|
|
|
|
";
|
|
|
|
}
|