| Shell | zsh |
| WM | bspwm |
| Editor | Emacs |
| Terminal | st |
| Launcher | dmenu |
| Browser | firefox |
.
|-- bin
|-- hosts
| |-- aarch64-darwin
| | `-- lucid
| |-- aarch64-linux
| | `-- air
| |-- x86_64-linux
| | |-- earth
| | `-- limber-lt-kdb
| `-- x86_64-windows
| `-- nightmare
`-- modules
|-- audio
|-- darwin
|-- desktop
|-- home-manager
| |-- cli
| |-- desktop
| | |-- backgrounds
| | |-- dmenu
| | |-- dunst
| | `-- higan
| |-- dev
| |-- editors
| | |-- doom
| | `-- nvim
| `-- services
|-- nixos
`-- services
30 directories
sudo -i
systemctl start wpa_supplicant
wpa_cli
> add_network
> set_network 0 ssid "myssid"
> set_network 0 psk "mypassword"
> set_network 0 key_mgmt WPA-PSK
> enable_network 0Verify target disk with lsblk and adjust disko-config.nix if needed.
# On installer: set root password and note IP
passwd
ip addr
# From another machine:
nix run github:nix-community/nixos-anywhere -- \
--generate-hardware-config nixos-generate-config \
./hosts/<platform>/<hostname>/hardware-configuration.nix \
--flake github:venikx/dotfiles#<hostname> root@<ip>sudo -i
nix-shell -p git
git clone https://github.com/<user>/dotfiles /tmp/dotfiles
cd /tmp/dotfiles
sudo nix --experimental-features "nix-command flakes" run \
github:nix-community/disko/latest -- \
--mode destroy,format,mount ./hosts/<platform>/<hostname>/disko-config.nix
mount | grep /mnt
nixos-generate-config --no-filesystems --root /mnt
cp /mnt/etc/nixos/hardware-configuration.nix \
./hosts/<platform>/<hostname>/hardware-configuration.nix
nixos-install --flake .#<hostname>