mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
docs: don't use tildes on dock.persistent-others examples
It no longer works on Sonoma 14.6.1, leaving a `?` instead of the desired folder.
This commit is contained in:
parent
84912a29a7
commit
e2db06ba70
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue