Created
March 3, 2024 21:24
-
-
Save moreati/931a819e4589d797e3d11fd62a0370a4 to your computer and use it in GitHub Desktop.
My first baby steps with Nix on a macOS machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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