nixpkgs/upstart-jobs/xfs.nix
Michael Raskin b3fa4f1e4e Added some xfs and general font changes.
svn path=/nixos/trunk/; revision=9966
2007-12-25 12:16:38 +00:00

20 lines
360 B
Nix

{
pkgs, config
}:
let
configFile = ./xfs.conf;
startingDependency = if config.services.gw6c.enable then "gw6c" else "network-interfaces";
in
rec {
name = "xfs";
groups = [];
users = [];
job = "
description = \"X Font Server\"
start on ${startingDependency}/started
stop on shutdown
respawn ${pkgs.xorg.xfs}/bin/xfs -config ${configFile}
";
}