mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +03:00
No description
Ivan Bushchik
4afe642684
NOTE: any config other than stella will not be working for a while Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev> |
||
---|---|---|
common | ||
machines | ||
roles | ||
secrets | ||
shells | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
README.md | ||
secrets.nix |
NixOS Configuration files.
Deploying
Setup disks, mount root to /mnt
and /boot
to /mnt/boot
and run something like this
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)
Shells
I "made" some shell in shells/.
Dotfiles (from ivabus/dotfiles
)
I install my dotfiles with prepared script
curl https://iva.bz/nix | sh