attempt to fix imports
This commit is contained in:
parent
d7ac8263bf
commit
40651fb6b2
1 changed files with 4 additions and 5 deletions
|
@ -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]
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue