diff options
| author | Domen Kožar <domen@dev.si> | 2022-03-13 12:18:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-13 12:18:50 +0000 |
| commit | 17fbc68a6110edbff67e55f7450230a697ecb17e (patch) | |
| tree | 465940db0296af973fa6acfe3f9c7514d2443c0b /modules/system | |
| parent | c4ed319159db121d990ae3eaf0c2d65c22deb59d (diff) | |
| parent | d61d8b3bd039345ee0f820079b1c915e7a8a018b (diff) | |
Merge pull request #445 from dsyang/finder-options
Add additional options to configure Finder
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/defaults/finder.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/modules/system/defaults/finder.nix b/modules/system/defaults/finder.nix index 91e100a..3539dbc 100644 --- a/modules/system/defaults/finder.nix +++ b/modules/system/defaults/finder.nix @@ -5,6 +5,49 @@ with lib; { options = { + system.defaults.finder.AppleShowAllFiles = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Whether to always show hidden files. The default is false. + ''; + }; + + system.defaults.finder.ShowStatusBar = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + 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 = '' + Show path breadcrumbs in finder windows. The default is false. + ''; + }; + + system.defaults.finder.FXDefaultSearchScope = mkOption { + type = types.nullOr types.string; + default = null; + description = '' + 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 = "Nlsv"; + description = '' + 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; |
