my nix setup
Find a file
2024-10-31 21:12:05 +01: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 htop: update config 2024-10-31 01:39:05 +01:00
dropfile.script.nix evil?? 2024-09-30 17:57:30 +02:00
home.nix i3: use correct workspace (for real this time) 2024-10-31 21:12:05 +01:00
init.sh update install process 2024-10-21 17:40:52 +02:00
install.sh install.sh: fix drive selection 2024-10-24 21:16:40 +02:00
nix-cmd.script.nix initial commit 2024-09-07 01:18:31 +02:00
nixos-edit.script.nix nixos-edit: rebase when pulling 2024-10-31 17:43:14 +01:00
plans.script.nix plans: fix done-n 2024-10-31 17:46:22 +01:00
pushfile.script.nix evil?? 2024-09-30 17:57:30 +02:00
README.md Update README.md 2024-10-21 17:44:17 +02:00
sl.script.nix sl: dont use fprint 2024-10-28 14:16:58 +01:00
sshpc.script.nix initial commit 2024-09-07 01:18:31 +02:00
startsync.script.nix startsync: make it more lenient when detecting slowness 2024-10-28 22:15:17 +01:00
traewelling.script.nix traewelling,fish: fix some formatting 2024-10-29 00:04:48 +01:00

Setup

install.sh process

curl -o install.sh https://git.tudbut.de/TudbuT/nix-setup/raw/branch/main/install.sh
bash install.sh

init.sh process

(all in root)

with formatted drive, run:

nixos-generate-config --root /mnt
cd /mnt/etc/nixos
vim hardware-configuration.nix

-> and insert:

boot.loader.grub.device = "/dev/ d i s k ";
networking.hostName = "TudbuT-Nix m a c h i n e";'

quit and run:

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

reboot and run on the install:

nixos-edit init