1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 16:57:08 +00:00
nix-darwin/modules/system/defaults/dock.nix
Andy Dirnberger ad4acf558f
Add support for Dock icon size
Signed-off-by: Andy Dirnberger <andy@dirnberger.me>
2017-06-25 16:38:48 -04:00

57 lines
1.4 KiB
Nix

{ config, lib, ... }:
with lib;
{
options = {
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.tilesize = mkOption {
type = types.nullOr types.int;
default = null;
description = ''
Size of the icons in the dock. The default is 64.
'';
};
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.
'';
};
};
}