my nix setup
.gitignore | ||
bright.script.nix | ||
configuration.nix | ||
deadd.css | ||
dropfile.script.nix | ||
home.nix | ||
init.sh | ||
install.sh | ||
nix-cmd.script.nix | ||
nixos-edit.script.nix | ||
plans-backend.script.nix | ||
plans.script.nix | ||
pushfile.script.nix | ||
README.md | ||
sl.script.nix | ||
sshpc.script.nix | ||
ssy.script.nix | ||
startsync.script.nix | ||
todos.script.nix | ||
traewelling.script.nix |
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