wgetis installedtaris installed
If you really don't want to install Nix under /nix (or you can't) then you can install Nix
| #!/usr/bin/env $SHELL | |
| alias lsblk="lsblk -o MODEL,VENDOR,NAME,LABEL,SIZE,MOUNTPOINT,FSTYPE" | |
| alias gramps="nix-env -p /nix/var/nix/profiles/system --list-generations" | |
| alias nixos-rebuild="nixos-rebuild -j 6 --cores 8" | |
| # | |
| # -j is how many "jobs" or simultaneous computational processes run in tandem | |
| # --cores is how many CPU cores you want to use | |
| # How do you get these values? `cat /proc/cpuinfo` and look at the number of | |
| # returned "CPUs". They're zero indexed, so if you get the last one as object | |
| # number seven (7), you have 8 cores. |
| - |
| wpa_supplicant -B -i interface -c <(wpa_passphrase 'SSID' 'key'). | |
| ping 1.1.1.1 | |
| parted /dev/nvme0n1 -- mklabel gpt | |
| parted /dev/nvme0n1 -- mkpart primary 512MiB -0 | |
| parted /dev/nvme0n1 -- mkpart ESP fat32 1MiB 512MiB | |
| parted /dev/nvme0n1 -- set 2 esp on | |
| cryptsetup luksFormat /dev/nvme0n1p1 |