1
0
Fork 0
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:
Daiderd Jordan 2016-12-14 16:30:55 +01:00
parent b14ce1fdf2
commit 8b3cf21d87
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 31 additions and 0 deletions

View file

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

View file

@ -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.
'';
};
};