diff --git a/nix/homes/rafiq/desktop/darwin.nix b/nix/homes/rafiq/desktop/darwin.nix index ea20119..936c690 100644 --- a/nix/homes/rafiq/desktop/darwin.nix +++ b/nix/homes/rafiq/desktop/darwin.nix @@ -1,7 +1,10 @@ { - flake.modules.darwin.graphical.homebrew = { - enable = true; - onActivation.cleanup = "uninstall"; - casks = [ "ghostty" ]; - }; + flake.modules.darwin.graphical.homebrew = + { config, ... }: + { + enable = true; + primaryUser = config.home.username; + onActivation.cleanup = "uninstall"; + casks = [ "ghostty" ]; + }; }