nixos

Nix Packages collection (Nixpkgs).

nixos configuration file:

/etc/nixos/configuration.nix

after changing this file you can change the system by:

nixos-rebuild switch

when you want to update the packages at the same time:

nixos-rebuild switch --upgrade 

checking options of nixos pkg

nixos-option users.user.merijn

You can use a package by temporarely installing it in a nix-shell

nix-shell -p htop
nix-collect-garbage

software location

check out:

which vim

it will show you that /run/current-system/sw/ is where its all at

system configuration location

all versions of your system your can find here: /nix/var/nix/profiles

nix-env

nix-env --upgrade -A nixpkgs.some-package
nix-env --rollback
nix-env --uninstall firefox