xresources: fix api name
This commit is contained in:
parent
60676b4a8e
commit
ac9755964e
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user