mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
refactor: modularize nix-homebrew
This commit is contained in:
parent
316032bab6
commit
ae3c83f936
2 changed files with 20 additions and 20 deletions
18
flake.nix
18
flake.nix
|
|
@ -81,24 +81,6 @@
|
|||
./modules/apps.nix
|
||||
./modules/host-users.nix
|
||||
nix-homebrew.darwinModules.nix-homebrew
|
||||
{
|
||||
nix-homebrew = {
|
||||
enable = true;
|
||||
enableRosetta = true;
|
||||
user = username;
|
||||
taps = {
|
||||
"homebrew/homebrew-core" = homebrew-core;
|
||||
"homebrew/homebrew-cask" = homebrew-cask;
|
||||
};
|
||||
mutableTaps = false;
|
||||
};
|
||||
}
|
||||
(
|
||||
{ config, ... }:
|
||||
{
|
||||
homebrew.taps = builtins.attrNames config.nix-homebrew.taps;
|
||||
}
|
||||
)
|
||||
home-manager.darwinModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue