From 6e70c2e409b632c113364ce34c79aa1385d8e56f Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Thu, 13 Feb 2025 18:54:26 -0500 Subject: darwin/desktop: move to mixins and defaults --- modules/darwin/desktop/homebrew.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 modules/darwin/desktop/homebrew.nix (limited to 'modules/darwin/desktop/homebrew.nix') diff --git a/modules/darwin/desktop/homebrew.nix b/modules/darwin/desktop/homebrew.nix deleted file mode 100644 index 93fe4ad..0000000 --- a/modules/darwin/desktop/homebrew.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ config, lib, ... }: -let - cfg = config.desktop.homebrew; -in -{ - options.desktop.homebrew = { - enable = lib.mkEnableOption "Homebrew integration" // { - default = config.desktop.enable; - }; - }; - - config = lib.mkIf cfg.enable { - homebrew = { - enable = true; - - onActivation = lib.mkDefault { - autoUpdate = true; - cleanup = "zap"; - upgrade = true; - }; - - caskArgs = { - no_quarantine = true; - require_sha = false; - }; - }; - }; -} -- cgit v1.2.3