Skip to content

Instantly share code, notes, and snippets.

@moreati
Created March 3, 2024 21:24
Show Gist options
  • Save moreati/931a819e4589d797e3d11fd62a0370a4 to your computer and use it in GitHub Desktop.
Save moreati/931a819e4589d797e3d11fd62a0370a4 to your computer and use it in GitHub Desktop.
My first baby steps with Nix on a macOS machine
# To apply changes run
# nix-env --install --remove-all --file ~/macos.nix
# nix-env -irf ~/macos.nix
#
# Notes
# - Binaries are made available in ~/.nix-profile/bin/
#
# TODO
# - Install ~/.nix-profile/bin/{python,python-config}{3.8,3.9,3.10,3.11,3.12},
# but *not* .../{python{,3}
# - Install tox
#
# https://ianthehenry.com/posts/how-to-learn-nix/declarative-user-environment/
with import <nixpkgs> {}; [
ansible
ansible-lint
get_iplayer
git
git-cola
ncdu
neovim
pipx
pv
pwgen
ripgrep
silver-searcher
wget
yt-dlp
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment