my nix setup
Find a file
2026-06-05 22:49:58 +02:00
customfonts fonte 2025-06-29 22:34:28 +02:00
npins nixpkgs: update 2026-04-21 15:04:13 +02:00
packages fix 2026-04-22 12:49:05 +02:00
usbsound usbsound 2026-04-14 18:10:42 +02:00
.gitignore usbsound 2026-04-14 18:10:42 +02:00
battery.nix less log spam 2026-01-14 08:18:49 +01:00
bright.script.nix thing 2026-03-17 10:22:26 +01:00
configuration.nix spinner 2026-06-05 12:26:27 +02: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
glinks.desktop glinks 2026-06-04 22:21:35 +02:00
home.nix pkgs.user: add xpra 2026-06-05 22:49:58 +02:00
init.sh Update init.sh 2025-12-24 20:51:22 +01:00
install.sh add delay 2026-01-03 09:11:37 +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 fix metronom login 2 2026-05-21 23:52:56 +02:00
minilaptop.actkbd.conf add raw screenshot bind 2025-12-08 09:47:09 +01:00
minilaptop.nix no 2026-02-26 23:40:13 +01:00
niri.kdl links.... 2026-06-04 22:07:59 +02: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 better offline thing? 2026-01-09 08:52:20 +01:00
nixpkgs-config.nix virt-manager n stuff 2026-01-25 00:37:18 +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 quickfhs update 2026-02-10 18:26:56 +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 the no 2026-05-21 23:58:34 +02: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 more reliable syncfs 2025-12-25 04:13:51 +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
wayland.nix funny 2026-02-28 10:10:24 +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