1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

add dock options for system.defaults

This commit is contained in:
Daiderd Jordan 2016-12-14 16:22:39 +01:00
parent d64ce165b7
commit b14ce1fdf2
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 40 additions and 0 deletions

View file

@ -30,6 +30,11 @@
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true;
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode2 = true;
system.defaults.dock.autohide = true;
system.defaults.dock.orientation = "left";
system.defaults.dock.showhidden = true;
system.defaults.dock.mru-spaces = false;
programs.tmux.enable = true;
programs.tmux.loginShell = "${config.programs.zsh.shell} -l";
programs.tmux.enableSensible = true;

View file

@ -8,6 +8,41 @@ with lib;
system.defaults.dock.autohide = mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Whether to automatically hide and show the dock. The default is false.
'';
};
system.defaults.dock.orientation = mkOption {
type = types.nullOr (types.enum [ "bottom" "left" "right" ]);
default = null;
description = ''
Position of the dock on screen. The default is "bottom".
'';
};
system.defaults.dock.showhidden = mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Whether to make icons of hidden applications tranclucent. The default is false.
'';
};
system.defaults.dock.minimize-to-application = mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Whether to minimize windows into their application icon. The default is false.
'';
};
system.defaults.dock.mru-spaces = mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Whether to automatically rearrange spaces based on most recent use. The default is true.
'';
};
};