Skip to content

Instantly share code, notes, and snippets.

@betaboon
Created May 12, 2020 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save betaboon/5e6e3d9bb6a4ae7240ada66bd5e231b4 to your computer and use it in GitHub Desktop.
Save betaboon/5e6e3d9bb6a4ae7240ada66bd5e231b4 to your computer and use it in GitHub Desktop.
diff --git a/nixos/modules/services/networking/pixiecore.nix b/nixos/modules/services/networking/pixiecore.nix
index 0e32f182e2a..85aa40784af 100644
--- a/nixos/modules/services/networking/pixiecore.nix
+++ b/nixos/modules/services/networking/pixiecore.nix
@@ -115,7 +115,7 @@ in
if cfg.mode == "boot"
then [ "boot" cfg.kernel ]
++ optional (cfg.initrd != "") cfg.initrd
- ++ optional (cfg.cmdLine != "") "--cmdline=${lib.escapeShellArg cfg.cmdLine}"
+ ++ optionals (cfg.cmdLine != "") [ "--cmdline" cfg.cmdLine ]
else [ "api" cfg.apiServer ];
in
''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment