My attempt at managing my packages with nix.
./setup.sh
- Gets curl
- Gets nix
- Configures nix
- Installs packages into a profile.
nix profile remove --all
flakes
- dir with
flake.nix
andflake.lock
. - I can specify packages and lock them.
- Easily share nix code.
profiles
- Can just think of these as users.
- Profiles have a similar layout as the linux root dir.
For example,
~/.nix-profile/bin/make
points tomake
in the Nix store.
ls -l ~/.nix-profile/bin/make
lrwxrwxrwx 1 root root 66 Dec 31 1969 /home/rick/.nix-profile/bin/make
-> /nix/store/afp0kzsyj08idy9zy1wx154nii3idalj-gnumake-4.4.1/bin/make
- These packages are installed into the
nix-rick
profile.
zero-to-nix Nix Reference Nix as a homebrew replacement
- Add
oh-my-zsh
- Explore how project specific
flake.nix
interacts with thenix-rick
profile. - See if rustup can be automated
- Add my dotfiles to this?
- Install xclip