feat: migrate homebrew packages to nix
This commit is contained in:
parent
ae0cdfbc5d
commit
9570c81a28
@ -20,8 +20,6 @@
|
||||
VISUAL = "nvim";
|
||||
};
|
||||
systemPackages = with pkgs; [
|
||||
# Terminal
|
||||
git
|
||||
# Containers
|
||||
colima
|
||||
unstable.docker-client
|
||||
@ -32,6 +30,8 @@
|
||||
unstable.spicetify-cli
|
||||
# Java
|
||||
checkstyle
|
||||
# XCode
|
||||
cocoapods
|
||||
];
|
||||
};
|
||||
|
||||
@ -63,21 +63,13 @@
|
||||
# Upgrade outdated formulae on activation
|
||||
upgrade = true;
|
||||
};
|
||||
taps = [
|
||||
"ddev/ddev"
|
||||
"homebrew/cask-fonts"
|
||||
];
|
||||
brews = [
|
||||
"cocoapods"
|
||||
"openjdk@17"
|
||||
"bash" # Required for nix-shell to function properly
|
||||
"ddev/ddev/ddev"
|
||||
"firefoxpwa"
|
||||
];
|
||||
casks = [
|
||||
"hiddenbar"
|
||||
"android-platform-tools"
|
||||
"font-caskaydia-cove-nerd-font"
|
||||
"gcenx/wine/wineskin"
|
||||
];
|
||||
};
|
||||
|
@ -14,10 +14,10 @@
|
||||
firebird-emu
|
||||
];
|
||||
|
||||
# Add homebrew applications to path
|
||||
programs.zsh = {
|
||||
# Needed for nix-shell to have the correct bash version
|
||||
profileExtra = ''
|
||||
PATH=/opt/homebrew/bin:$PATH
|
||||
PATH=/run/current-system/sw/bin:$PATH
|
||||
'';
|
||||
prezto.pmodules = [
|
||||
"osx"
|
||||
|
@ -12,8 +12,8 @@
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "chisui";
|
||||
repo = "zsh-nix-shell";
|
||||
rev = "v0.1.0";
|
||||
sha256 = "0snhch9hfy83d4amkyxx33izvkhbwmindy0zjjk28hih1a9l2jmx";
|
||||
rev = "v0.8.0";
|
||||
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user