diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index 4fed6335f742..68c3286b22a0 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -219,7 +219,7 @@ in # Fonts "/etc/plymouth/fonts".source = pkgs.runCommand "plymouth-initrd-fonts" {} '' mkdir -p $out - cp ${cfg.font} $out + cp ${escapeShellArg cfg.font} $out ''; "/etc/fonts/fonts.conf".text = ''