my nix setup
Find a file
2024-09-30 17:57:30 +02:00
.gitignore initial commit 2024-09-07 01:18:31 +02:00
bright.script.nix initial commit 2024-09-07 01:18:31 +02:00
configuration.nix evil 2024-09-30 17:57:23 +02:00
dropfile.script.nix evil?? 2024-09-30 17:57:30 +02:00
home.nix evil 2024-09-30 17:57:23 +02:00
nix-cmd.script.nix initial commit 2024-09-07 01:18:31 +02:00
pushfile.script.nix evil?? 2024-09-30 17:57:30 +02:00
README.md evil?? 2024-09-30 17:57:30 +02:00
sl.script.nix initial commit 2024-09-07 01:18:31 +02:00
sshpc.script.nix initial commit 2024-09-07 01:18:31 +02:00
startsync.script.nix initial commit 2024-09-07 01:18:31 +02:00

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