my nix setup
Find a file
2024-10-19 03:13:34 +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 many changes (begin proper git tracking) 2024-10-19 02:16:31 +02:00
dropfile.script.nix evil?? 2024-09-30 17:57:30 +02:00
home.nix many changes (begin proper git tracking) 2024-10-19 02:16:31 +02:00
init.sh fancier output 2024-10-19 02:41:11 +02:00
nix-cmd.script.nix initial commit 2024-09-07 01:18:31 +02:00
nixos-edit.script.nix fix ssh keygen in nixos-edit init 2024-10-19 03:13:34 +02:00
pushfile.script.nix evil?? 2024-09-30 17:57:30 +02:00
README.md fix a readme issue 2024-10-19 02:42:56 +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
cd /mnt/etc/nixos
vim 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
git clone https://git.tudbut.de/tudbut/nix-setup
pushd nix-setup ; mv $(ls -a) .. ; popd
exit
bash init.sh
nixos-install

on the install:

nixos-edit init