direct url: https://channels.nixos.org/nixos-unstable/latest-nixos-graphical-x86_64-linux.iso
nix --extra-experimental-features nix-command --extra-experimental-features flakes run nixpkgs#wget -- "https://channels.nixos.org/nixos-unstable/latest-nixos-graphical-x86_64-linux.iso" Ventoy default mount path: /run/media/nixos/Ventoy
export NIX_CONFIG="extra-experimental-features = nix-command flakes pipe-operators" && export NIXPKGS_ALLOW_UNFREE=1printf '%s\n' \
'export NIX_CONFIG="extra-experimental-features = nix-command flakes pipe-operators"' \
'export NIXPKGS_ALLOW_UNFREE=1' \
"alias ll='ls -alh'" \
"j(){ cd \"\$@\"; }" \
"alias vi='nvim'" \
"alias gs='git status -sbu'" \
>> ~/.bashrc && . ~/.bashrc- IMPORTANT: if using sources other than nixpkgs, you must first add your $USER as a trusted user:
sudo sed -i '$i\ nix.settings.trusted-users = [ "root" "'"$USER"'" ];' /etc/nixos/configuration.nix && \
sudo nixos-rebuild switchAfterwards proceed:
nix shell \
nixpkgs#git \
nixpkgs#gh \
nixpkgs#neovim \
nixpkgs#wget \
nixpkgs#nh \
github:numtide/llm-agents.nix#codexto make the packages available in any terminal, use nix shell to activate the shell.
gh auth login
gh repo cloneBad3r/nixost $HOME/nixos
gh repo clone Bad3r/dotfiles $HOME/dotfiles