summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2020-01-14 23:46:59 +0100
committerGitHub <noreply@github.com>2020-01-14 23:46:59 +0100
commit26d5d8f5ba2c4b90cd43bc8fd3a66ead2750842c (patch)
tree86046558077861f44e2ceff145bf48fcf91fc763 /modules
parent3ec36dd6673198a8a6fcd433866654e4155c7eb6 (diff)
parent11e6e68c991b91c785158bc9523b1c062232921f (diff)
Merge pull request #181 from cmacrae/defaults/hide-menu-bar
defaults: introduce NSGlobalDomain option for "_HIHideMenuBar"
Diffstat (limited to 'modules')
-rw-r--r--modules/system/defaults/NSGlobalDomain.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix
index d519ce0..1f8d5ef 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -297,6 +297,14 @@ in {
'';
};
+ system.defaults.NSGlobalDomain._HIHideMenuBar = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = ''
+ Whether to autohide the menu bar. The default is false.
+ '';
+ };
+
};
}