diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix index 9d2631ace..c834a374a 100644 --- a/modules/programs/zsh.nix +++ b/modules/programs/zsh.nix @@ -455,8 +455,10 @@ in initContent = mkOption { default = ""; type = types.lines; - example = lib.mkOrder 1000 '' - echo "Hello, initContent!" + example = lib.literalExpression '' + lib.mkOrder 1000 '''' + echo "Hello zsh initContent!" + ''''; ''; description = "Content to be added to {file}`.zshrc`. To specify the order, use `lib.mkOrder`."; };