Something went wrong. Try again.
my machines
Something went wrong. Try again.
Files
- Nix 97%
- Python 2%
- Shell 1%
README.md
Bootstrap on bare metal: #
NixOS (with nixos install media) #
-
format disks and generate hardware config:
$ sudo -s # loadkeys neo # nix-shell -p nixUnstable # ./install.sh -
copy
/mnt/etc/nixos/hardware-configuration.nixto the relevant host directory -
set the value of
boot.initrd.luks.devices.root.device; use/dev/disk/by-uuid -
install the config with
nixos-install --flake ...
OSX / nix-darwin #
-
install Determinate Nix (i.e., with
install --determinate) -
install nix-darwin
sudo nix run nix-darwin/master#darwin-rebuild -- switch --flake ...