From ce78f833f3920ef381bb0a260f78d7f2379d64ff Mon Sep 17 00:00:00 2001 From: Stephen Parkinson Date: Wed, 13 Nov 2024 17:43:03 -0800 Subject: [PATCH] Autoupdate homebrew and add simple config --- nix/flake.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/nix/flake.nix b/nix/flake.nix index 8380ddd..14911f8 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -11,7 +11,7 @@ outputs = inputs@{ self, nix-darwin, nixpkgs, nix-homebrew }: let configuration = { pkgs, config, ... }: { - + nixpkgs.config.allowUnfree = true; # List packages installed in system profile. To search by name, run: @@ -36,7 +36,7 @@ pkgs.rectangle pkgs.vscode ]; - + homebrew = { enable = true; casks = [ @@ -75,6 +75,8 @@ "WireGuard" = 1451685025; }; onActivation.cleanup = "zap"; + onActivation.autoUpdate = true; + onActivation.upgrade = true; }; # Auto upgrade nix package and the daemon service. @@ -104,6 +106,12 @@ done ''; + system.defaults = { + dock.autohide = true; + trackpad.Clicking = true; + trackpad.TrackpadThreeFingerDrag = true; + }; + # Set Git commit hash for darwin-version. system.configurationRevision = self.rev or self.dirtyRev or null;