about summary refs log tree commit diff
path: root/hosts/common/darwin
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-03-04 16:17:39 -0800
committerFranck Cuny <franck@fcuny.net>2024-03-04 16:17:39 -0800
commitd048a7b6a225f9e30b2a95e9461f4c267eb29af0 (patch)
treee7da6bcb7901d4c0daae50b59fa5c2b02e89b51d /hosts/common/darwin
parentdon't sign git commits (diff)
downloadworld-d048a7b6a225f9e30b2a95e9461f4c267eb29af0.tar.gz
add configuration for my work machine
Diffstat (limited to 'hosts/common/darwin')
-rw-r--r--hosts/common/darwin/homebrew.nix7
-rw-r--r--hosts/common/darwin/macos.nix5
2 files changed, 11 insertions, 1 deletions
diff --git a/hosts/common/darwin/homebrew.nix b/hosts/common/darwin/homebrew.nix
index 0a7a2c9..60fbd6b 100644
--- a/hosts/common/darwin/homebrew.nix
+++ b/hosts/common/darwin/homebrew.nix
@@ -10,12 +10,17 @@
 
     brews = [
       "aspell" # spelling
-      "kind" # to run local k8s cluster
       "envoy" # to do some testing with envoy
+      "go" # it's also installed by nix, but this is a fallback, just in case
+      "hashicorp/tap/boundary" # https://www.boundaryproject.io/
+      "kind" # to run local k8s cluster
+      "kubebuilder"
+      "s3cmd"
     ];
 
     taps = [
       "homebrew/cask-fonts"
+      "hashicorp/tap"
     ];
 
     casks = [
diff --git a/hosts/common/darwin/macos.nix b/hosts/common/darwin/macos.nix
index 810d64d..edc57a0 100644
--- a/hosts/common/darwin/macos.nix
+++ b/hosts/common/darwin/macos.nix
@@ -8,6 +8,11 @@
   system.defaults.finder.AppleShowAllExtensions = true;
   system.defaults.screencapture.location = "~/Documents/screenshots";
 
+  system.keyboard = {
+    enableKeyMapping = true;
+    remapCapsLockToControl = true;
+  };
+
   system.defaults.CustomUserPreferences = {
     "com.apple.desktopservices" = {
       # Avoid creating .DS_Store files on network or USB volumes