diff options
Diffstat (limited to 'nix/hosts/common')
-rw-r--r-- | nix/hosts/common/homebrew.nix | 43 | ||||
-rw-r--r-- | nix/hosts/common/macos.nix | 29 |
2 files changed, 0 insertions, 72 deletions
diff --git a/nix/hosts/common/homebrew.nix b/nix/hosts/common/homebrew.nix deleted file mode 100644 index 1ba4a93..0000000 --- a/nix/hosts/common/homebrew.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ ... }: { - # Required for homebrew on aarch64 - environment.systemPath = [ "/opt/homebrew/bin" "/opt/homebrew/sbin" ]; - - homebrew = { - enable = true; - onActivation.autoUpdate = true; - onActivation.upgrade = true; - - brews = [ - "go" # it's also installed by nix, but this is a fallback, just in case - - # various hashicorp related tools - "hashicorp/tap/boundary" # https://www.boundaryproject.io/ - "hashicorp/tap/nomad-pack" - - # kubernetes stuff - "kind" # to run local k8s cluster - "kubebuilder" - ]; - - taps = [ "homebrew/cask-fonts" "hashicorp/tap" ]; - - casks = [ - "1password-cli" - "docker" - "element" - "emacs" - "iterm2" - "transmission" - "vlc" - "wireshark" - "zoom" - - # fonts - "font-go" - "font-source-code-pro" - "font-source-sans-3" - "font-source-serif-4" - "font-dejavu" - ]; - }; -} diff --git a/nix/hosts/common/macos.nix b/nix/hosts/common/macos.nix deleted file mode 100644 index e764129..0000000 --- a/nix/hosts/common/macos.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ ... }: { - system.defaults.dock.autohide = true; - system.defaults.dock.orientation = "left"; - system.defaults.dock.showhidden = false; - system.defaults.dock.show-recents = false; - # don’t rearrange spaces based on the most recent use - system.defaults.dock.mru-spaces = false; - system.defaults.finder.AppleShowAllExtensions = true; - system.defaults.screencapture.location = "~/Documents/screenshots"; - system.defaults.SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true; - - system.keyboard = { - enableKeyMapping = true; - remapCapsLockToControl = true; - }; - - # Touch ID for sudo auth - security.pam.enableSudoTouchIdAuth = true; - - services.nix-daemon.enable = true; - - system.defaults.CustomUserPreferences = { - "com.apple.desktopservices" = { - # Avoid creating .DS_Store files on network or USB volumes - DSDontWriteNetworkStores = true; - DSDontWriteUSBStores = true; - }; - }; -} |