summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDan Yang <dsyang92@gmail.com>2022-03-10 18:24:26 -0800
committerDan Yang <dsyang92@gmail.com>2022-03-14 10:04:28 -0700
commit37e42a9fe4d7460685f3bae8d694ec8a04dcbefe (patch)
treefbb274fe69f0fa4be1f67998175a3b46b0f75cba /modules
parentd61d8b3bd039345ee0f820079b1c915e7a8a018b (diff)
add option to show hidden files everywhere
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 2d2e54d..5fb329e 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -15,6 +15,14 @@ let
in {
options = {
+ system.defaults.NSGlobalDomain.AppleShowAllFiles = mkOption {
+ type = types.nullOr types.bool;
+ default = null;
+ description = ''
+ Whether to always show hidden files. The default is false.
+ '';
+ };
+
system.defaults.NSGlobalDomain.AppleEnableMouseSwipeNavigateWithScrolls = mkOption {
type = types.nullOr types.bool;
default = null;