summaryrefslogtreecommitdiff
path: root/hosts/RyanMac/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/RyanMac/configuration.nix')
-rw-r--r--hosts/RyanMac/configuration.nix23
1 files changed, 18 insertions, 5 deletions
diff --git a/hosts/RyanMac/configuration.nix b/hosts/RyanMac/configuration.nix
index c964d97..16e1006 100644
--- a/hosts/RyanMac/configuration.nix
+++ b/hosts/RyanMac/configuration.nix
@@ -4,6 +4,8 @@ let
4 4
5 defaultBrowser = "zen"; 5 defaultBrowser = "zen";
6 6
7 thirdPartyTaps = import ./taps.nix;
8
7 pinnedNixpkgs = pkgs.writeText "flake-registry.json" (builtins.toJSON { 9 pinnedNixpkgs = pkgs.writeText "flake-registry.json" (builtins.toJSON {
8 version = 2; 10 version = 2;
9 flakes = [ 11 flakes = [
@@ -41,6 +43,7 @@ let
41in { 43in {
42 # Modules 44 # Modules
43 imports = [ 45 imports = [
46 inputs.nix-homebrew.darwinModules.nix-homebrew
44 ../../modules/darwin/random-wallpaper.nix 47 ../../modules/darwin/random-wallpaper.nix
45 ]; 48 ];
46 49
@@ -107,28 +110,38 @@ in {
107 zsh.enable = true; 110 zsh.enable = true;
108 }; 111 };
109 112
113 # Install homebrew itself
114 nix-homebrew = {
115 enable = true;
116 enableRosetta = true;
117 user = "${username}";
118 mutableTaps = false;
119 taps = thirdPartyTaps;
120 trust.taps = builtins.attrNames thirdPartyTaps;
121 };
122
110 # Install homebrew casks/apps 123 # Install homebrew casks/apps
111 homebrew = { 124 homebrew = {
112 enable = true; 125 enable = true;
113 126
114 onActivation = { 127 onActivation = {
115 cleanup = "zap"; 128 cleanup = "zap";
116 extraFlags = [ "--force-cleanup" ];
117 }; 129 };
118 130
119 taps = [ 131 global.brewfile = true;
120 "netbirdio/tap" 132
121 "FelixKratz/formulae" 133 taps = builtins.attrNames thirdPartyTaps;
122 ];
123 134
124 brews = [ 135 brews = [
125 "borders" 136 "borders"
137 "mqttx-cli"
126 ]; 138 ];
127 139
128 casks = [ 140 casks = [
129 "utm" 141 "utm"
130 "ghostty" 142 "ghostty"
131 "zen" 143 "zen"
144 "ungoogled-chromium"
132 "tailscale-app" 145 "tailscale-app"
133 "netbird-ui" 146 "netbird-ui"
134 ]; 147 ];