diff options
| author | Fuwn <[email protected]> | 2024-12-14 22:14:52 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-12-14 22:14:52 -0800 |
| commit | 041be554643157100b802b4bc70208cb2c94b9d7 (patch) | |
| tree | dd65c7b00064c3752615cdb69b4fa518f77983e7 /modules/mac/homebrew | |
| parent | just: move tasks to justfile (diff) | |
| download | nixos-config-041be554643157100b802b4bc70208cb2c94b9d7.tar.xz nixos-config-041be554643157100b802b4bc70208cb2c94b9d7.zip | |
nara: move configuration to modules
Diffstat (limited to 'modules/mac/homebrew')
| -rw-r--r-- | modules/mac/homebrew/default.nix | 20 | ||||
| -rw-r--r-- | modules/mac/homebrew/nix-homebrew.nix | 17 |
2 files changed, 37 insertions, 0 deletions
diff --git a/modules/mac/homebrew/default.nix b/modules/mac/homebrew/default.nix new file mode 100644 index 0000000..d6bc250 --- /dev/null +++ b/modules/mac/homebrew/default.nix @@ -0,0 +1,20 @@ +{ + imports = [ ./nix-homebrew.nix ]; + + homebrew = { + enable = true; + + brews = [ + "swiftlint" + "gpg" + "pinentry-mac" + "sudo-touchid" + ]; + + casks = [ + "alt-tab" + "iina" + "aerospace" + ]; + }; +} diff --git a/modules/mac/homebrew/nix-homebrew.nix b/modules/mac/homebrew/nix-homebrew.nix new file mode 100644 index 0000000..84684ce --- /dev/null +++ b/modules/mac/homebrew/nix-homebrew.nix @@ -0,0 +1,17 @@ +{ inputs, ... }: +{ + nix-homebrew = { + enable = true; + enableRosetta = true; + user = "ebisu"; + mutableTaps = false; + + taps = with inputs; { + "artginzburg/homebrew-tap" = artginzburg-homebrew-tap; + "homebrew/homebrew-core" = homebrew-core; + "homebrew/homebrew-cask" = homebrew-cask; + "homebrew/homebrew-bundle" = homebrew-bundle; + "nikitabobko/homebrew-tap" = nikitabobko-homebrew-tap; + }; + }; +} |