From ec144aaa8fb8c5a4b65e60bbc31a52d71d6e646a Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jun 2023 02:39:11 +0300 Subject: 2023-06-01 --- modules/darwin/common/nix.nix | 1 + modules/darwin/homebrew.nix | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'modules/darwin') diff --git a/modules/darwin/common/nix.nix b/modules/darwin/common/nix.nix index b291d11..08379f8 100644 --- a/modules/darwin/common/nix.nix +++ b/modules/darwin/common/nix.nix @@ -39,5 +39,6 @@ with lib; { services.nix-daemon.enable = true; + # https://github.com/LnL7/nix-darwin/blob/master/CHANGELOG system.stateVersion = 4; } diff --git a/modules/darwin/homebrew.nix b/modules/darwin/homebrew.nix index 990afae..f0bec9b 100644 --- a/modules/darwin/homebrew.nix +++ b/modules/darwin/homebrew.nix @@ -16,6 +16,11 @@ in { homebrew = { enable = true; taps = []; + onActivation = { + autoUpdate = true; + cleanup = "zap"; + upgrade = true; + }; }; }; } -- cgit 1.4.1