summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-03 10:38:48 +0200
committertv <tv@krebsco.de>2020-06-03 10:38:48 +0200
commit739db44f3fee490d7d6581500c9201de58c6bb96 (patch)
treeba61cfd23d79842a5943c1dfd91ac3f7d2cd11e0 /tv
parent6ad7a8801cbc68ce481ae936983178709779c813 (diff)
tv Xresources: enable service when using xserver
Diffstat (limited to 'tv')
-rw-r--r--tv/3modules/Xresources.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/3modules/Xresources.nix b/tv/3modules/Xresources.nix
index ce7ac9ac2..ab233dd65 100644
--- a/tv/3modules/Xresources.nix
+++ b/tv/3modules/Xresources.nix
@@ -1,7 +1,7 @@
with import <stockholm/lib>;
{ config, pkgs, ... }: let
cfg = {
- enable = config.tv.Xresources != {};
+ enable = config.services.xserver.enable && config.tv.Xresources != {};
user = config.krebs.build.user;
};
in {