diff options
| author | Dan Yang <dsyang92@gmail.com> | 2022-03-10 18:24:26 -0800 |
|---|---|---|
| committer | Dan Yang <dsyang92@gmail.com> | 2022-03-14 10:04:28 -0700 |
| commit | 37e42a9fe4d7460685f3bae8d694ec8a04dcbefe (patch) | |
| tree | fbb274fe69f0fa4be1f67998175a3b46b0f75cba /tests | |
| parent | d61d8b3bd039345ee0f820079b1c915e7a8a018b (diff) | |
add option to show hidden files everywhere
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/system-defaults-write.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/system-defaults-write.nix b/tests/system-defaults-write.nix index 414b903..597e032 100644 --- a/tests/system-defaults-write.nix +++ b/tests/system-defaults-write.nix @@ -1,6 +1,7 @@ { config, pkgs, ... }: { + system.defaults.NSGlobalDomain.AppleShowAllFiles = true; system.defaults.NSGlobalDomain.AppleEnableMouseSwipeNavigateWithScrolls = false; system.defaults.NSGlobalDomain.AppleEnableSwipeNavigateWithScrolls = false; system.defaults.NSGlobalDomain.AppleFontSmoothing = 1; @@ -49,6 +50,7 @@ grep "defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server 'ServerDescription' -string 'Darwin.*s iMac'" ${config.out}/activate echo >&2 "checking defaults write in /activate-user" + grep "defaults write -g 'AppleShowAllFiles' -bool YES" ${config.out}/activate-user grep "defaults write -g 'AppleEnableMouseSwipeNavigateWithScrolls' -bool NO" ${config.out}/activate-user grep "defaults write -g 'AppleEnableSwipeNavigateWithScrolls' -bool NO" ${config.out}/activate-user grep "defaults write -g 'AppleFontSmoothing' -int 1" ${config.out}/activate-user |
