No description
Find a file
Ivan Bushchik ffc7d9fdf2
Refactor configuration
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-07-30 12:44:50 +03:00
common Add gitignore + sshkey of celerrime 2023-07-30 09:17:06 +03:00
machines Refactor configuration 2023-07-30 12:44:50 +03:00
roles Fix roles/devel config 2023-07-30 11:30:16 +03:00
secrets uhhhhhhhhh 2023-07-28 15:39:50 +03:00
.gitignore Add flake.lock to .gitignore 2023-07-30 09:31:31 +03:00
flake.nix Update devel config 2023-07-30 11:29:17 +03:00
README.md Refactor configuration 2023-07-30 12:44:50 +03:00
secrets.nix uhhhhhhhhh 2023-07-28 15:39:50 +03:00

NixOS Configuration files.

Deploying

Setup disks, mount root to /mnt and /boot to /mnt/boot and run something like it

git clone https://github.com/ivabus/nixos /mnt/etc/nixos
nixos-generate-config --show-hardware-config --root /mnt > /mnt/etc/nixos/machines/host/hardware.nix
nixos-install --flake path:.#host

Rebuilding

nixos-rebuild switch --flake path:/etc/nixos

Apple Silicon hosts require additional --impure flag for firmware installation. (Firmware should be placed in /etc/nixos/asahi/firmware (ignored by git)).

Hosts configured

  • stella (Random Ryzen 3 3250U laptop)
  • vetus (iMac 27" 2017)
  • celerrime (MacBook Air M2)

TODO