hacker shit
inspired by the-nix-way/nome, anthr76/snowflake, and Misterio77/nix-starter-configs.
Start a nix-shell with some basic tools
export NIX_CONFIG="experimental-features = nix-command flakes"
nix shell nixpkgs#git nixpkgs#home-manager
Stub out a template flake
nix flake init -t github:misterio77/nix-starter-config#minimal
Edit some stuff in flake.nix etc, then
home-manager switch --flake .#$(whoami)@$(hostname)
sudo nixos-rebuild switch --flake .#$(hostname)
Update inputs.nixpkgs.url
, then
nix flake update
home-manager switch --flake .#$(whoami)@$(hostname)
sudo nixos-rebuild boot --flake .#$(hostname)
Then reboot
sudo nixos-rebuild switch --upgrade --flake .#$(hostname)
nix-shell -p alacritty
Check out nix + direnv
Search for specific versions of packages and get installation directions
Get started with some basic flake dev templates for every language