about summary refs log tree commit diff
path: root/modules/darwin/homebrew.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-06-01 02:39:11 +0300
committerAzat Bahawi <azat@bahawi.net>2023-06-01 02:39:11 +0300
commitec144aaa8fb8c5a4b65e60bbc31a52d71d6e646a (patch)
tree27a5a684b2def43d0ba00fbb890ed26f572fb060 /modules/darwin/homebrew.nix
parent2023-05-21 (diff)
2023-06-01
Diffstat (limited to 'modules/darwin/homebrew.nix')
-rw-r--r--modules/darwin/homebrew.nix5
1 files changed, 5 insertions, 0 deletions
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;
+      };
     };
   };
 }

Consider giving Nix/NixOS a try! <3