A tool to update Nixpkgs.
nix flake update
Installatation
- Configure the NixOS Configuration File and add the line:
nix.settings.experimental-features = [ "nix-command" "flakes" ];
cd /etc/nixos
sudo nixos-rebuild switch
sudo nix flake init --template github:vimjoyer/flake-starter-config
. This will install aflake.nix
file- The rebuild command will then be:
sudo nixos-rebuild switch --flake /etc/nixos#default