diff --git a/hosts/plover/default.nix b/hosts/plover/default.nix index 54c598e3..0eba15e7 100644 --- a/hosts/plover/default.nix +++ b/hosts/plover/default.nix @@ -366,11 +366,13 @@ in }; extraCreateArgs = let - args = [ - (lib.concatStringsSep " " - (builtins.map (patternFile: "--patterns-from ${lib.escapeShellArg patternFile}") patternFiles)) - (lib.concatStringsSep " " - (builtins.map (pattern: "--pattern ${lib.escapeShellArg pattern}") patterns)) + args = lib.flatten [ + (builtins.map + (patternFile: "--patterns-from ${lib.escapeShellArg patternFile}") + patternFiles) + (builtins.map + (pattern: "--pattern ${lib.escapeShellArg pattern}") + patterns) ]; in lib.concatStringsSep " " args;