52 lines
No EOL
1.4 KiB
Nix
52 lines
No EOL
1.4 KiB
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.nix-homebrew.darwinModules.nix-homebrew
|
|
];
|
|
nix-homebrew = {
|
|
# Install Homebrew under the default prefix
|
|
enable = true;
|
|
|
|
# Apple Silicon Only: Also install Homebrew under the default Intel prefix for Rosetta 2
|
|
enableRosetta = true;
|
|
|
|
# User owning the Homebrew prefix
|
|
user = "nyxerinys";
|
|
|
|
# Optional: Declarative tap management
|
|
taps = {
|
|
"homebrew/homebrew-core" = inputs.homebrew-core;
|
|
"homebrew/homebrew-cask" = inputs.homebrew-cask;
|
|
"Sikarugir-App/homebrew-sikarugir" = inputs.homebrew-sikarugir;
|
|
};
|
|
|
|
# Optional: Enable fully-declarative tap management
|
|
#
|
|
# With mutableTaps disabled, taps can no longer be added imperatively with `brew tap`.
|
|
mutableTaps = false;
|
|
|
|
# Optional: Declarative Homebrew tap trust entries.
|
|
#
|
|
# Note: The trust entries are _not_ removed if you remove them from those lists!
|
|
# Use the `brew untrust` command to remove a trust entry.
|
|
trust = {
|
|
formulae = [ ];
|
|
casks = [ ];
|
|
commands = [ ];
|
|
taps = [ ];
|
|
};
|
|
};
|
|
homebrew = {
|
|
enable = true;
|
|
onActivation.cleanup = "zap"; # Cleans packages not defined here
|
|
|
|
# Use Mac Casks instead of standard Nix packages for GUI apps
|
|
casks = [
|
|
"steam"
|
|
"discord"
|
|
"Sikarugir-App/sikarugir/sikarugir"
|
|
"zen"
|
|
"python"
|
|
];
|
|
};
|
|
} |