Skip to content

Commit

Permalink
docs: don't use tildes on dock.persistent-others examples
Browse files Browse the repository at this point in the history
It no longer works on Sonoma 14.6.1, leaving a `?` instead of the
desired folder.
  • Loading branch information
aisamu committed Sep 16, 2024
1 parent 31b0fb7 commit 73a5575
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/system/defaults/dock.nix
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,10 @@ in
system.defaults.dock.persistent-others = mkOption {
type = types.nullOr (types.listOf (types.either types.path types.str));
default = null;
example = [ "~/Documents" "~/Downloads" ];
example = [ "/Users/my_user_name/Documents" "/Users/my_user_name/Downloads" ];
description = ''
Persistent folders in the dock.
Note: tilde(`~`) does not get reliably expanded.
'';
apply = value:
if !(isList value)
Expand Down

0 comments on commit 73a5575

Please sign in to comment.