diff --git a/upstart-jobs/xfs.nix b/upstart-jobs/xfs.nix index bab02a411fc..b887e3fc334 100644 --- a/upstart-jobs/xfs.nix +++ b/upstart-jobs/xfs.nix @@ -1,6 +1,7 @@ { pkgs, config }: +if ! config.fonts.enableFontDir then abort "Please enable fontDir (fonts.enableFontDir) to use xfs." else let configFile = ./xfs.conf; startingDependency = if config.services.gw6c.enable && config.services.gw6c.autorun then "gw6c" else "network-interfaces";