From a8f497e226f8c6ede9c8b4b04f1868db48700b62 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 19 Jun 2022 17:30:32 -0400 Subject: [PATCH] darwin fix dock --- modules/darwin/homebrew.nix | 1 + modules/darwin/system.nix | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/darwin/homebrew.nix b/modules/darwin/homebrew.nix index 8490350..157cb00 100644 --- a/modules/darwin/homebrew.nix +++ b/modules/darwin/homebrew.nix @@ -19,6 +19,7 @@ "gitify" # Git notifications in menu bar "logitech-g-hub" # Mouse and keyboard management "mimestream" # Gmail client + "obsidian" # Obsidian packaging on Nix is not available for MacOS ]; global.brewfile = true; # Run brew bundle from anywhere global.noLock = true; # Don't save lockfile (since running from anywhere) diff --git a/modules/darwin/system.nix b/modules/darwin/system.nix index 4762e89..666dabc 100644 --- a/modules/darwin/system.nix +++ b/modules/darwin/system.nix @@ -148,7 +148,7 @@ } defaults write com.apple.dock persistent-apps -array \ - "$(__dock_item /Applications/1Password\ 7.app)" \ + "$(__dock_item /Applications/1Password.app)" \ "$(__dock_item /Applications/Slack.app)" \ "$(__dock_item /System/Applications/Calendar.app)" \ "$(__dock_item /Applications/Firefox.app)" \ @@ -160,10 +160,6 @@ "$(__dock_item /Applications/Alacritty.app)" \ "$(__dock_item /System/Applications/System\ Preferences.app)" - echo "Turn on Scroll Reverser" - open /Applications/Scroll\ Reverser.app - osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/Scroll Reverser.app", hidden:false}' - echo "Allow apps from anywhere" SPCTL=$(spctl --status) if ! [ "$SPCTL" = "assessments disabled" ]