my nix setup
.gitignore | ||
bright.script.nix | ||
configuration.nix | ||
dropfile.script.nix | ||
home.nix | ||
nix-cmd.script.nix | ||
pushfile.script.nix | ||
README.md | ||
sl.script.nix | ||
sshpc.script.nix | ||
startsync.script.nix |
Setup
on formatted drive:
nixos-generate-config --root /mnt
vim /mnt/etc/nixos/hardware-configuration.nix
insert
boot.loader.grub.device = "/dev/ d i s k ";
networking.hostName = "TudbuT-Nix m a c h i n e";'
quit and:
nix-shell -p git
rm configuration.nix
cd /mnt/etc/nixos
git clone https://git.tudbut.de/tudbut/nix-setup
exit
nixos-install