ctucx.git: nixfiles

ctucx' nixfiles

commit 7c46f04462cce4d80ebf11bc18a5f31d21b6388d
parent 7baaf07bf99747fc79d8efa89d66ae4929b8fad5
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 17 Jun 2024 09:04:06 +0200

configurations/darwin: use iTerm from homebrew, not nixpkgs
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/configurations/darwin/dock.nix b/configurations/darwin/dock.nix
@@ -16,7 +16,7 @@
       --add /System/Applications/Photos.app \
       --add /Applications/TIDAL.app \
       --add /System/Applications/Podcasts.app \
-      --add ${pkgs.iterm2}/Applications/iTerm2.app \
+      --add /Applications/iTerm.app \
       --add "/System/Applications/Utilities/Activity Monitor.app" \
       --add "/System/Applications/System Settings.app"
   '';
diff --git a/configurations/darwin/programs/iTerm.nix b/configurations/darwin/programs/iTerm.nix
@@ -2,6 +2,11 @@
 
 {
 
+  homebrew.enable  = true;
+  homebrew.casks   = [
+    "iterm2"
+  ];
+
   system.defaults.CustomUserPreferences = {
     "com.googlecode.iterm2" = {
       # Disable iTerm's annoying promt when quitting it

@@ -14,6 +19,4 @@
     };
   };
 
-  home-manager.users.leah.home.packages = with pkgs; [ iterm2 ];
-
 }