LnL7 / nix-darwin

nix modules for darwin
MIT License
2.43k stars 407 forks source link

feat: check if homebrew exists #961

Open codingCoffee opened 1 month ago

codingCoffee commented 1 month ago

fixes #778

cc: @Enzime please recommend changes

codingCoffee commented 1 month ago

Also @joaothallis is there a way to evaluate the checkHomebrewInstall check only if the user has homebrew.enable = true in this nix configuration?

emilazy commented 2 weeks ago

You can use mkIf in the system.checks.text entry.