feat(nix): migrate fish shell and direnv to Nix

This commit is contained in:
Stefan Imhoff
2024-07-30 20:23:36 +02:00
parent 5c3da861b9
commit 03d01920c8
46 changed files with 245 additions and 2791 deletions

View File

@@ -18,9 +18,16 @@
};
environment.systemPackages = [ pkgs.pinentry_mac ];
# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
# programs.fish.enable = true;
# Shells
environment.shells = with pkgs; [
bash
zsh
fish
];
programs.zsh.enable = true;
programs.fish.enable = true;
programs.bash.enable = true;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog

View File

@@ -7,22 +7,16 @@
"homebrew/services" # Manage background services using the daemon manager launchctl on macOS or systemctl on Linux.
];
brews = [
"bash" # TODO: Migrate to nix
"cava" # Console-based Audio Visualizer for ALSA
"fileicon" # macOS CLI for managing custom icons for files and folders
"fish" # TODO: Migrate to nix
"gettext" # INFO: Dependency of Neovim
"libiconv" # INFO: Dependency of nixpkgs_fmt
"luajit" # INFO: Dependency of Neovim
"neovim" # TODO: Migrate to nix
"oatmeal" # Terminal UI to chat with large language models (LLM) using backends such as Ollama, and direct integrations with your favourite editor like Neovim!
"prettier" # Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML
"starship" # TODO: Migrate to nix
"tmux" # TODO: Migrate to nix
"tree-sitter" # INFO: Dependency of Neovim
"urlview" # URL extractor/launcher
"zsh" # TODO: Migrate to nix
"zsh-syntax-highlighting" # TODO: Migration to nix
];
casks = [
"affinity-designer" # Professional graphic design software
@@ -133,4 +127,3 @@
"Yoink" = 457622435; # Drag and drop
};
}