8.nix-darwin/modules/system/defaults/finder.nix
Emily e65131e69c treewide: convert all option docs to Markdown
This process was automated by [my fork of `nix-doc-munge`]; thanks
to @pennae for writing this tool! It automatically checks that the
resulting documentation doesn't change, although my fork loosens
this a little to ignore some irrelevant whitespace and typographical
differences.

As of this commit there is no DocBook remaining in the options
documentation.

You can play along at home if you want to reproduce this commit:

    $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \
      nix shell nixpkgs#coreutils \
      -c find . -name '*.nix' \
      -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \
      {} +

[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2023-06-24 10:48:55 +01:00

92 lines
2.6 KiB
Nix

{ config, lib, ... }:
with lib;
{
options = {
system.defaults.finder.AppleShowAllFiles = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
Whether to always show hidden files. The default is false.
'';
};
system.defaults.finder.ShowStatusBar = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
Show status bar at bottom of finder windows with item/disk space stats. The default is false.
'';
};
system.defaults.finder.ShowPathbar = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
Show path breadcrumbs in finder windows. The default is false.
'';
};
system.defaults.finder.FXDefaultSearchScope = mkOption {
type = types.nullOr types.string;
default = null;
description = lib.mdDoc ''
Change the default search scope. Use "SCcf" to default to current folder.
The default is unset ("This Mac").
'';
};
system.defaults.finder.FXPreferredViewStyle = mkOption {
type = types.nullOr types.string;
default = null;
description = lib.mdDoc ''
Change the default finder view.
"icnv" = Icon view, "Nlsv" = List view, "clmv" = Column View, "Flwv" = Gallery View
The default is icnv.
'';
};
system.defaults.finder.AppleShowAllExtensions = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
Whether to always show file extensions. The default is false.
'';
};
system.defaults.finder.CreateDesktop = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
Whether to show icons on the desktop or not. The default is true.
'';
};
system.defaults.finder.QuitMenuItem = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
Whether to allow quitting of the Finder. The default is false.
'';
};
system.defaults.finder._FXShowPosixPathInTitle = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
Whether to show the full POSIX filepath in the window title. The default is false.
'';
};
system.defaults.finder.FXEnableExtensionChangeWarning = mkOption {
type = types.nullOr types.bool;
default = null;
description = lib.mdDoc ''
Whether to show warnings when change the file extension of files. The default is true.
'';
};
};
}