- NixOS 23.11 (Tapir)
- Home Manager
- Linux Kernel 6.3.4-zen1
- Mesa 23.1.3
- LightDM (Display Manager)
- Pantheon Deskop Environment
- Nushell
- Starship Prompt
- Nano CLI Editor
- Visual Studio Code
- Opensnitch
- Steam
NixOS comes preinstalled with the Nix package manager, update the nix package manager configuration to enable the nix-command
& flakes
experimental features.
Edit /etc/nix/nix.conf and add/modify the following line:
experimental-features = nix-command flakes
Execute the following within the project directory:
# Basic switch
sudo nixos-rebuild switch --flake ./#machine-hostname
# Switch with upgrade
sudo nixos-rebuild switch --flake ./#machine-hostname --upgrade
# Example
sudo nixos-rebuild switch --flake ./#AMZ-Linux
Inside the root of the project directory execute the following:
# Updates flake.lock
nix flake update
# Updates flake.lock with refreshed cache
nix flake update --refresh
Execute the following, if you would like to run garbage collection:
sudo nix-collect-garbage -d