mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
add finder options for system.defaults
This commit is contained in:
parent
b14ce1fdf2
commit
8b3cf21d87
2 changed files with 31 additions and 0 deletions
|
@ -35,6 +35,10 @@
|
|||
system.defaults.dock.showhidden = true;
|
||||
system.defaults.dock.mru-spaces = false;
|
||||
|
||||
system.defaults.finder.AppleShowAllExtensions = true;
|
||||
system.defaults.finder.QuitMenuItem = true;
|
||||
system.defaults.finder.FXEnableExtensionChangeWarning = false;
|
||||
|
||||
programs.tmux.enable = true;
|
||||
programs.tmux.loginShell = "${config.programs.zsh.shell} -l";
|
||||
programs.tmux.enableSensible = true;
|
||||
|
|
|
@ -8,6 +8,33 @@ with lib;
|
|||
system.defaults.finder.AppleShowAllExtensions = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to always show file extensions. The default is false.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.finder.QuitMenuItem = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to allow quitting of the Finder. The default is false.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.finder._FXShowPosixPathInTitle = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
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 = ''
|
||||
Whether to show warnings when change the file extension of files. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue