summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-14 16:22:39 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-14 16:22:39 +0100
commitb14ce1fdf22f068c335d4b5428edc36e4ac26e70 (patch)
tree0df4392d3dd67b2c38a649cc51fa74d33c2a4e46 /modules/system
parentd64ce165b77908c2b2cabb372a71830c4c6bb5ff (diff)
add dock options for system.defaults
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/defaults/dock.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/system/defaults/dock.nix b/modules/system/defaults/dock.nix
index f40087b..2b3fea4 100644
--- a/modules/system/defaults/dock.nix
+++ b/modules/system/defaults/dock.nix
@@ -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.
+ '';
};
};