summaryrefslogtreecommitdiffstats
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
commitab4bc6eddcfa371e28dbdbae4e1a8571ed183653 (patch)
tree57a023a3a941a02651715088a3ccb6310160079c
parent55a0cd397b80c9d899dfccfb132e6c0940b82904 (diff)
tv Xresources: enable service when using xserver
-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 ce7ac9a..ab233dd 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 {