ctucx.git: nixfiles

ctucx' nixfiles

commit 355cb57a926552fe879ced74c0c801ec30a91f49
parent a116bd3acbb02b88837b1bad25cf160f6fae26b9
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 15 Feb 2024 16:04:32 +0100

configurations/darwin/programs/rectangle: use homebrew package
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configurations/darwin/programs/rectangle.nix b/configurations/darwin/programs/rectangle.nix
@@ -2,6 +2,9 @@
 
 {
 
+  homebrew.enable = true;
+  homebrew.casks  = [ "rectangle" ];
+
   system.defaults.CustomUserPreferences = {
     "com.knollsoft.Rectangle" = {
       # don't check for updates

@@ -9,8 +12,6 @@
     };
   };
 
-  home-manager.users.leah.home.packages = with pkgs; [ rectangle ];
-
   system.activationScripts.userDefaults.text = ''
     defaults write com.knollsoft.Rectangle maximize -dict keyCode 36 modifierFlags 786432
   '';