xresources: fix api name

This commit is contained in:
lassulus 2017-12-15 20:05:06 +01:00
parent 60676b4a8e
commit ac9755964e

View File

@ -17,7 +17,7 @@ in
{ {
options = { options = {
services.xresources.enable = mkOption { krebs.xresources.enable = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
description = '' description = ''
@ -25,7 +25,7 @@ in
''; '';
}; };
services.xresources.resources = mkOption { krebs.xresources.resources = mkOption {
default = {}; default = {};
type = types.attrsOf types.str; type = types.attrsOf types.str;
example = { example = {
@ -42,7 +42,7 @@ in
config = config =
let let
cfg = config.services.xresources; cfg = config.krebs.xresources;
xres = writeText "xresources" (concatStringsSep "\n" (attrValues cfg.resources)); xres = writeText "xresources" (concatStringsSep "\n" (attrValues cfg.resources));
in mkIf cfg.enable { in mkIf cfg.enable {