1
0
Fork 0
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:
Samuel Tschiedel 2024-09-15 20:55:00 -03:00
parent 84912a29a7
commit e2db06ba70
No known key found for this signature in database
GPG key ID: AAAF89E3D2C70F09

View file

@ -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)