my nix setup
Find a file
2025-12-19 10:46:57 +01:00
customfonts fonte 2025-06-29 22:34:28 +02:00
npins update & fix nixpkgs path 2025-12-14 11:26:03 +01:00
packages edname update 2025-12-08 21:12:30 +01:00
.gitignore no more! 2025-01-29 14:46:40 +01:00
bright.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
configuration.nix disable ssh password auth 2025-12-19 10:15:37 +01:00
deadd.css idiomaticify config 2024-12-18 19:39:36 +01:00
dropfile.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
efi.nix Add efi.nix 2025-12-18 13:26:41 +01:00
fan.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
fuckingfastdl.script.nix ffdl fix 2025-07-24 13:02:01 +02:00
home.nix pkgs.user: add android-studio 2025-12-16 23:28:57 +01:00
init.sh fix init.sh 2025-12-15 18:04:22 +01:00
install.sh Update install.sh 2025-12-18 13:35:33 +01:00
internal.tablet do minilaptop things 2025-05-15 19:08:59 +02:00
LICENSE.md Add LICENSE.md 2024-11-16 19:30:03 +01:00
metronom-login.script.nix metronom login vpn fix 2025-09-14 18:34:12 +02:00
minilaptop.actkbd.conf add raw screenshot bind 2025-12-08 09:47:09 +01:00
minilaptop.nix Update minilaptop.nix 2025-12-18 13:36:08 +01:00
nix-alien.nix nix-alien: enable 2024-11-13 00:33:22 +01:00
nix-cmd.script.nix i3 things and nix-cmd things 2025-03-15 07:28:29 +01:00
nixos-edit.script.nix make nixos-edit remove channels leftovers 2025-12-16 13:16:36 +01:00
plans-backend.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
plans.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
pushfile.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
quickfhs.script.nix fix quickfhs 2025-12-19 10:46:57 +01:00
rawkeybinds.actkbd.conf thing 2025-12-08 09:54:33 +01:00
README.md readme update 2025-12-18 15:58:54 +01:00
rebuild.sh fix it refusing unfree sometimes 2025-12-15 20:21:21 +01:00
sl.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
special-pkgs.nix.default Add special-pkgs.nix.default 2025-10-17 21:15:19 +02:00
sshpc.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
ssy.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
startsync.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
timeprogress.nu bwa 2025-11-26 13:19:37 +01:00
todos.script.nix idiomaticify config 2024-12-18 19:39:36 +01:00
traewelling.script.nix fix traewelling 2025-10-30 10:25:53 +01:00
typedit.script.nix typedit fix? 2025-11-25 12:38:44 +01:00
typesorter.sh bwa 2025-11-03 08:31:11 +01:00
workmode.sh dont detect ytm 2025-09-26 15:00:33 +02:00

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

  1. fork
  2. search and replace tudbut everywhere
  3. probably remove a bunch of stuff from home.nix
  4. suffer while normaling my weirdness
  5. 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