nixos/fcitx5: fix evaluation

This commit is contained in:
Nick Cao 2023-08-15 08:14:08 +08:00
parent b20308c508
commit 2af24d4417
No known key found for this signature in database

View file

@ -107,14 +107,14 @@ in
};
in
lib.attrsets.mergeAttrsList [
(optionalFile "config" (lib.generators.toINI { }) sts.globalOptions)
(optionalFile "profile" (lib.generators.toINI { }) sts.inputMethod)
(optionalFile "config" (lib.generators.toINI { }) cfg.settings.globalOptions)
(optionalFile "profile" (lib.generators.toINI { }) cfg.settings.inputMethod)
(lib.concatMapAttrs
(name: value: optionalFile
"conf/${name}.conf"
(lib.generators.toINIWithGlobalSection { })
value)
sts.addons)
cfg.settings.addons)
];
environment.variables = {