mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21:34 +01:00
Use lib.concatLists instead of ++ when convenient
This commit is contained in:
parent
8807d38b57
commit
90302f4c2b
3 changed files with 10 additions and 7 deletions
|
|
@ -29,9 +29,10 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
warnings =
|
||||
lib.optional (lib.pathExists "${modulesPath}/services/misc/memos.nix") "TODO: Use memos module from stable nixpkgs"
|
||||
++ lib.optional (lib.versionAtLeast lib.version "25.11") "TODO: Use memos package from stable nixpkgs";
|
||||
warnings = lib.concatLists [
|
||||
(lib.optional (lib.pathExists "${modulesPath}/services/misc/memos.nix") "TODO: Use memos module from stable nixpkgs")
|
||||
(lib.optional (lib.versionAtLeast lib.version "25.11") "TODO: Use memos package from stable nixpkgs")
|
||||
];
|
||||
|
||||
meta = {
|
||||
domains.list = [ cfg.domain ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue