Comments (4)
@dustinlyons thanks for pointing out the links. At the end it is like add inside hombrew config in home-manager:
taps = [
{
name = "koekeishiya/homebrew-formulae";
clone_target = "https://github.com/koekeishiya/homebrew-formulae.git";
force_auto_update = true;
}
];
brews = [
"koekeishiya/homebrew-formulae/yabai"
"koekeishiya/homebrew-formulae/skhd"
];
from nixos-config.
When I create manually these paths I'm getting then:
Installing yabai
Warning: Cask 'yabai' is unavailable: '/usr/local/Homebrew/Library/Taps/koekeishiya/homebrew-formulae/Casks/yabai.rb' does not exist.
Error: No casks found for yabai.
==> Searching for similarly named casks...
Installing yabai has failed!
Installing skhd
Warning: Cask 'skhd' is unavailable: '/usr/local/Homebrew/Library/Taps/koekeishiya/homebrew-formulae/Casks/skhd.rb' does not exist.
Error: No casks found for skhd.
==> Searching for similarly named casks...
Installing skhd has failed!
from nixos-config.
Next steps I've done
- Added input:
koekeishiya-formulae = {
url = "github:koekeishiya/homebrew-formulae";
flake = false;
};
-
Added in outputs:
koekeishiya-formulae
-
Added to taps:
"koekeishiya/homebrew-formulae" = koekeishiya-formulae;
- Then in casks:
"koekeishiya/homebrew-formulae/yabai"
"koekeishiya/homebrew-formulae/skhd"
The problem is that it tried to install:
Installing yabai
Warning: Cask 'yabai' is unavailable: '/usr/local/Homebrew/Library/Taps/koekeishiya/homebrew-formulae/Casks/yabai.rb' does not exist.
Error: No casks found for yabai.
==> Searching for similarly named casks...
Installing yabai has failed!
Installing skhd
Warning: Cask 'skhd' is unavailable: '/usr/local/Homebrew/Library/Taps/koekeishiya/homebrew-formulae/Casks/skhd.rb' does not exist.
Error: No casks found for skhd.
==> Searching for similarly named casks...
Installing skhd has failed!
while it should not have Casks
in the path - what am I missing?
from nixos-config.
This project uses the homebrew options in nix-darwin
. They are all here:
homebrew = {
enable = true;
casks = pkgs.callPackage ./casks.nix {};
# These app IDs are from using the mas CLI app
# mas = mac app store
# https://github.com/mas-cli/mas
#
# $ nix shell nixpkgs#mas
# $ mas search <app name>
#
masApps = {
"1password" = 1333542190;
"wireguard" = 1451685025;
};
};
And then as you found, we just import homebrew
using nix-homebrew. That's the extent of the homebrew configuration.
I think your underlying question is: "how do I add my own taps to this configuration?" I would dig around the nix-darwin
homebrew option docs for that. Here are some resources:
https://daiderd.com/nix-darwin/manual/index.html#opt-homebrew.enable
from nixos-config.
Related Issues (20)
- dustinlyons/nix-secrets.git dependency HOT 6
- NixOS install `./bin/apply: No such file or directory` HOT 8
- Installation issue on NixOS with xvda boot disk HOT 3
- Installed new NixOS install using this repo, no GUI on reboot HOT 13
- macOS - User does not own "system" or "default" profile HOT 8
- error: selector 'bash' matches no derivations HOT 21
- Purpose of mail and name? HOT 2
- Networking wireless device fails to start HOT 3
- How to upgrade everything installed (Mac OSX Sonoma)? HOT 6
- Add -b backup to `home-manager switch` HOT 2
- error: experimental Nix feature 'nix-command' is disabled HOT 8
- starter config appears to expect secrets repo HOT 3
- Couple of issues found with the latest instructions/code HOT 4
- Homebrew not found HOT 4
- How can I fix this homebrew error? HOT 4
- Add option to choose editor during install
- How can I add stylix HOT 1
- [Question] Have you considered adding a dock module to nix-darwin? HOT 1
- Does your configuration play with non nix-os Linux systems? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixos-config.