Skip to content

Index

tensorfiles#

Table of Contents#

  1. About
  2. Software
  3. Academics
  4. Secrets
  5. Installation
  6. (rough) Roadmap
  7. Troubleshooting
  8. Write error: disk full; during nixos-install
  9. References

1. About#

tensorfiles represent a set of fully covariant, that is invariant to the chosen coordinate system (they work on every machine), fundamental laws of computing (how to build my fancy flashy terminals)

img img

For more info refer to the documentation. The project is also hosted at on FlakeHub.

2. Software#

I use the following software

TODO rewrite into a list, tables are super unreadable in code

2.1. Academics#

TODO comment more?

  1. org-roam: This is the heart of everything that I do, TODOs, daily journals, scratchpads, notetaking and personal research wiki. The internal wiki is interlinked with zotero entries as well as anki cards.
  2. TODOs: org-agenda
  3. visualization: org-roam-ui
  4. anki connection: org-anki-editor img
  5. zotero: This is my backend for all of my bibliography as well as the individual .pdf files. As of now I keep them up to date between machines using syncthing, but I’ll probably set up a personal cloud when I’ll have spare time.
  6. anki: Since I have the memory of worm I try to keep my long-term memory of different subjects fresh using flashcards. I sync the cards using ankis official cloud.

2.2. Secrets#

For my day to day passwords I use a locally synced keepassxc encrypted database and for the NixOS based secrets I use agenix. I also try to avoid using any globally available pubkeys and rather tend to use machine specific ones instead (for obvious reasons).

Note: plz no pwn xd, if you see any vulnerabilities please DM me instead, thanks <3.

3. Installation#

TODO

4. (rough) Roadmap#

  • [-] **organization**
  • [ ] finish doc
  • [x] decouple
  • [x] decouple
  • [x] move nix/ to be the project root
  • [-] **implementation**
  • [ ] syncthing (local version)
  • [ ] syncthing (remote)
  • [ ] searx (remote)
  • [x] newsboat
  • [ ] thunderbird
  • [ ] zotero
  • [ ] anki
  • [ ] emacs
  • [ ] discord
  • [ ] misc? vlc? libre?
  • [ ] **machines**
  • [ ] jetbundle
  • [ ] pi
  • [ ] server

5. Troubleshooting#

Write error: disk full; during nixos-install#

If you get any error of this kind during the installation of this flake you have most likely run out of $TMPDIR space. This is usually due to $TMPDIR being set up as a RAM based tmpfs and thus not having enough RAM for nix store cache during installation.

The most clean & general solution to this would be to create a minimal based installation and then run a nixos-rebuild (and I still might do that) but that kind of defeats the purpose of what I am aiming for which would be to run nixos-install, a single command, and end up with a fully prepared system.

Considering that a quick workaround is to navigate $TMPDIR to a different folder (this might slow the installation process if you redirect it to a spinning disk tmp filesystem, however, assuming you have a decent bandwidth is’s still just by minutes)

mkdir -p /mnt/tmp
USER=$USER TMPDIR="/mnt/tmp" nixos-install --root /mnt --flake .#$HOST

A different solution in case you have more spare RAM would be to remount tmpfs, for example

mount -o remount,size=15G /tmp

6. References#

The whole nix ecosystem is in its foundations a revolutionary piece of software and once you get the hang of it you feel like you’ve really conquered the art of computer wizardry, however, it’s so different from everything that is the current status quo of compsci and thus needs appropriate extensive documentation/tutorials/etc… which is, however, currently not the case.

Due to this exact reason I’m leaving here a list of resources/flakes that helped me to (somewhat) learn the ways of nix (TODO: maybe write more? manual.org?)