From 4a3366df27aad5a5977e950984eb47ee197c542f Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Sun, 15 Mar 2026 17:08:37 -0400 Subject: [PATCH] rec --- home/rectangle.nix | 7 ++++--- modules/homebrew.nix | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/home/rectangle.nix b/home/rectangle.nix index d965103..7684b20 100644 --- a/home/rectangle.nix +++ b/home/rectangle.nix @@ -1,4 +1,5 @@ -{...}: { - home.file."Library/Preferences/com.knollsoft.Rectangle.plist".source = - ../config/rectangle/Rectangle.plist; +{lib, ...}: { + home.activation.importRectanglePreferences = lib.hm.dag.entryAfter ["writeBoundary"] '' + /usr/bin/defaults import com.knollsoft.Rectangle ${../config/rectangle/Rectangle.plist} + ''; } diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 1cb6cc9..8cfc3db 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -20,6 +20,7 @@ casks = [ "cap" "codex" + "rectangle" "raycast" "riptide-dev" "thebrowsercompany-dia"