From ac9755964e096779b96aee9b00e1fb25aedff38f Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 15 Dec 2017 20:05:06 +0100 Subject: [PATCH] xresources: fix api name --- krebs/3modules/xresources.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/krebs/3modules/xresources.nix b/krebs/3modules/xresources.nix index 017dbff2b..b2d38b972 100644 --- a/krebs/3modules/xresources.nix +++ b/krebs/3modules/xresources.nix @@ -17,7 +17,7 @@ in { options = { - services.xresources.enable = mkOption { + krebs.xresources.enable = mkOption { type = types.bool; default = false; description = '' @@ -25,7 +25,7 @@ in ''; }; - services.xresources.resources = mkOption { + krebs.xresources.resources = mkOption { default = {}; type = types.attrsOf types.str; example = { @@ -42,7 +42,7 @@ in config = let - cfg = config.services.xresources; + cfg = config.krebs.xresources; xres = writeText "xresources" (concatStringsSep "\n" (attrValues cfg.resources)); in mkIf cfg.enable {