Fix declarative homebrew taps which removes the error about being unable
to untap nikitabobko and aerospace.
This commit is contained in:
parent
b977ec6ed2
commit
1c0bcddb50
1 changed files with 29 additions and 1 deletions
30
flake.nix
30
flake.nix
|
|
@ -17,6 +17,23 @@
|
|||
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
|
||||
neovim.url = "github:LarssonMartin1998/neovim-flake";
|
||||
nix-homebrew.url = "github:zhaofengli-wip/nix-homebrew";
|
||||
|
||||
homebrew-core = {
|
||||
url = "github:homebrew/homebrew-core";
|
||||
flake = false;
|
||||
};
|
||||
homebrew-cask = {
|
||||
url = "github:homebrew/homebrew-cask";
|
||||
flake = false;
|
||||
};
|
||||
homebrew-bundle = {
|
||||
url = "github:homebrew/homebrew-bundle";
|
||||
flake = false;
|
||||
};
|
||||
homebrew-nikitabobko = {
|
||||
url = "github:nikitabobko/homebrew-tap";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -28,6 +45,10 @@
|
|||
nixos-wsl,
|
||||
neovim,
|
||||
nix-homebrew,
|
||||
homebrew-core,
|
||||
homebrew-cask,
|
||||
homebrew-bundle,
|
||||
homebrew-nikitabobko,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
|
@ -123,12 +144,19 @@
|
|||
nix-homebrew = {
|
||||
enable = true;
|
||||
enableRosetta = true;
|
||||
user = "larssonmartin1998-mac";
|
||||
taps = {
|
||||
"homebrew/core" = homebrew-core;
|
||||
"homebrew/cask" = homebrew-cask;
|
||||
"homebrew/bundle" = homebrew-bundle;
|
||||
"nikitabobko/tap" = homebrew-nikitabobko;
|
||||
};
|
||||
mutableTaps = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
specialArgs = {
|
||||
self = self;
|
||||
nix-homebrew = nix-homebrew;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue