attempt to fix imports

This commit is contained in:
LordGrimmauld 2024-03-16 11:02:59 +01:00
parent d7ac8263bf
commit 40651fb6b2

View File

@ -13,9 +13,8 @@ in {
};
};
config = with cfg; lib.mkIf (enable) {
imports = []
++ optionals cfg.enableLocale [./modules/localisation.nix]
;
};
imports = [] ++
(optionals cfg.enable ([]
++ optionals cfg.enableLocale [./modules/localisation.nix]
));
}