summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-12-15 20:05:06 +0100
committerlassulus <lassulus@lassul.us>2017-12-15 20:05:06 +0100
commitac9755964e096779b96aee9b00e1fb25aedff38f (patch)
tree3536f1812c9a2e376f52eb76c39cc6e9df863a7c
parent60676b4a8e6dea18a215df76f4dbd6fdf8176638 (diff)
xresources: fix api name
-rw-r--r--krebs/3modules/xresources.nix6
1 files 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 {