nixos/fcitx5: fix evaluation
This commit is contained in:
@@ -107,14 +107,14 @@ in
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
lib.attrsets.mergeAttrsList [
|
lib.attrsets.mergeAttrsList [
|
||||||
(optionalFile "config" (lib.generators.toINI { }) sts.globalOptions)
|
(optionalFile "config" (lib.generators.toINI { }) cfg.settings.globalOptions)
|
||||||
(optionalFile "profile" (lib.generators.toINI { }) sts.inputMethod)
|
(optionalFile "profile" (lib.generators.toINI { }) cfg.settings.inputMethod)
|
||||||
(lib.concatMapAttrs
|
(lib.concatMapAttrs
|
||||||
(name: value: optionalFile
|
(name: value: optionalFile
|
||||||
"conf/${name}.conf"
|
"conf/${name}.conf"
|
||||||
(lib.generators.toINIWithGlobalSection { })
|
(lib.generators.toINIWithGlobalSection { })
|
||||||
value)
|
value)
|
||||||
sts.addons)
|
cfg.settings.addons)
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
|
|||||||
Reference in New Issue
Block a user