1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

Merge pull request #445 from dsyang/finder-options

Add additional options to configure Finder
This commit is contained in:
Domen Kožar 2022-03-13 12:18:50 +00:00 committed by GitHub
commit 17fbc68a61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,49 @@ with lib;
{ {
options = { 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 { system.defaults.finder.AppleShowAllExtensions = mkOption {
type = types.nullOr types.bool; type = types.nullOr types.bool;
default = null; default = null;