my nix setup
| customfonts | ||
| npins | ||
| packages | ||
| .gitignore | ||
| bright.script.nix | ||
| configuration.nix | ||
| deadd.css | ||
| dropfile.script.nix | ||
| efi.nix | ||
| fan.script.nix | ||
| fuckingfastdl.script.nix | ||
| home.nix | ||
| init.sh | ||
| install.sh | ||
| internal.tablet | ||
| LICENSE.md | ||
| metronom-login.script.nix | ||
| minilaptop.actkbd.conf | ||
| minilaptop.nix | ||
| nix-alien.nix | ||
| nix-cmd.script.nix | ||
| nixos-edit.script.nix | ||
| plans-backend.script.nix | ||
| plans.script.nix | ||
| pushfile.script.nix | ||
| quickfhs.script.nix | ||
| rawkeybinds.actkbd.conf | ||
| README.md | ||
| rebuild.sh | ||
| sl.script.nix | ||
| special-pkgs.nix.default | ||
| sshpc.script.nix | ||
| ssy.script.nix | ||
| startsync.script.nix | ||
| timeprogress.nu | ||
| todos.script.nix | ||
| traewelling.script.nix | ||
| typedit.script.nix | ||
| typesorter.sh | ||
| workmode.sh | ||
Setup
install.sh process
curl -o install.sh https://t4t.li/nix
bash install.sh
for minilaptop
- specify efi boot (enter g when asked for partition table type)
- do not answer yes when the script wants to reboot
- instead edit hardware-configuration
- and add ./minilaptop.nix to imports
- then nixos-install and continue as normal
note that the laptop wont boot installation media. remove the ssd and install from an external device (answer yes when it asks whether you are sure you want to run the script from a non- install-medium - and be FUCKING careful), then reinsert into the laptop.
how to use if you are not tudbut
- fork
- search and replace tudbut everywhere
- probably remove a bunch of stuff from home.nix
- suffer while normaling my weirdness
- profit
init.sh process (do not do this)
(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