Nix configurations for my personal machines (Linux & macOS)

fix: add homebrew to fish path if present

ovyerus.com 7a89285a 9d2c2a38

verified
Changed files
+6 -2
hosts
shimmer
modules
darwin
programs
+1
hosts/shimmer/default.nix
···
myconfig.tray.enable = false;
myconfig.virtualisation.enable = false;
+
myconfig.programs.firefox.enable = false;
myconfig.programs.chromium.enable = false;
myconfig.programs.desktop-apps.enable = false;
myconfig.programs.espanso.enable = false;
+1 -2
modules/darwin/homebrew.nix
···
onActivation.cleanup = "zap";
taps = [
-
"homebrew/cask-versions"
"ovyerus/klog"
"ovyerus/tap"
];
···
# Actually searches symlinks for apps, compared to Alfred.
"raycast"
"swiftformat-for-xcode"
-
# "visual-studio-code"
# "vorta"
+
"zen"
];
masApps = {
+4
modules/programs/fish.nix
···
nix-your-shell fish | source
+
if test -d /opt/homebrew/bin;
+
fish_add_path /opt/homebrew/bin
+
end;
+
# Docker compose alias that switches to if the standalone binary is present.
if which docker-compose &> /dev/null;
alias dc docker-compose;