tv Xresources: enable service when using xserver

This commit is contained in:
tv 2020-06-03 10:38:48 +02:00
parent 6ad7a8801c
commit 739db44f3f

View File

@ -1,7 +1,7 @@
with import <stockholm/lib>; with import <stockholm/lib>;
{ config, pkgs, ... }: let { config, pkgs, ... }: let
cfg = { cfg = {
enable = config.tv.Xresources != {}; enable = config.services.xserver.enable && config.tv.Xresources != {};
user = config.krebs.build.user; user = config.krebs.build.user;
}; };
in { in {