ToDo¶
Nix¶
-
Add install-nix skill from https://github.com/vorburger/aifiles
-
VM, like ixo!!
-
Alt Left/Right in nano
-
Shift Up/Down, Alt Up/Down, Ctrl PgUp/PgDown https://gemini.google.com/app/394387d4e13b598c
-
pass, via ext. YK -
True Colors!! Both on Console, and when logged in remotely over ssh in tmux
-
Ctrl-Backspace in Fish on Console (only; works over SSH)
-
How to solve <> problem
-
Try
services.howdy.enable = true; security.pam.services.sudo.howdyAuth = true; -
https://github.com/NixOS/nixos-hardware/blob/master/lenovo/thinkpad/x1/12th-gen/default.ni
-
nix GC automatically
-
Login and go straight into TMUX
-
Graphical; initially most minimal - just Brave & Kitty, in Sway?
-
Compare
pstreeon Nix Console and Fedora in GNOME -
Antigravity, but NOT via home-manager, see https://github.com/vorburger/dotfiles/commit/21aff996ef847ddeefbde2061f984446682ba1e3
-
How to do LUKS encryption?
boot.initrd.systemd.enable = true; # Required for modern systemd-cryptsetup
security.tpm2.enable = true;
$ sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 /dev/nvme0n1p2
-
Impermanence
-
/nixon separate partition (or LV) -
Secure Boot!!
- Not possible to still dual boot Fedora?
-
Does
ssh-tpm-agentstill work?! -
tmuxshould remember open tabs over restart -
Cache on CI
-
mkdocsa https://aifiles.vorburger.ch -
Make a much more minimal initial host config
-
WiFi setup baked in into installer, as it now is for ixo
-
AI extract an
_local.nixfrom vm1/configuration.nix, re-use it in ixo/configuration.nix¶ -
AI Make nixos-anywhere available in the dev shell of this project¶
-
Use
sopsnixoragenixfor secrets management (instead ofnixos-anywhere --extra-files). Maybe together with https://github.com/Foxboron/age-plugin-tpm ? -
nrsscript, which doessudo nixos-rebuild switch --flake .- AFTER checking that there are no dirty un-committednixfilesAND that they have been pushed to the remote repo. -
Move
nix-updateskill tonixfilesrepo - but reference it as input to make it available here... how? -
Blog about my NixOS experience (similar to this)
-
Upstream configurations of any services et al. which ideally shouldn't be here at all
-
Try https://github.com/microvm-nix/microvm.nix? See https://michael.stapelberg.ch/posts/2026-02-01-coding-agent-microvm-nix/.
Upstream¶
-
How to isolate? Merely building
ssh-tpm-agentlocally fromnixpkgs(but probably even standalone) breakssshon OS.
Machines¶
- VM vorburger sudo password?! None - but enable this:
security.pam.sshAgentAuth.enable = true;
security.sudo.extraConfig = ''
Defaults env_keep += SSH_AUTH_SOCK
'';
-
Remove Disko & GRUB from test1, if possible
-
VM with UEFI instead of BIOS, and systemd-boot instead of GRUB
-
Rename
test1to vm-without-bootloader, and vm1 to vm-bios-with-grub-bootloader ? -
VM testing; https://github.com/anatol/vmtest for
systemctl status(porcelaim?) -
nixos-rebuild ... --specialisation XYZfor different use cases? -
Cloud VMs?
imports = [ "${modulesPath}/virtualisation/amazon-image.nix" ]? See e.g. this announcement. -
Workstation 🖥️ with
pam_u2f.soforsudowith SK -
Clan!
- https://docs.clan.lol/guides/nixpkgs-flake-input/
- https://docs.clan.lol/guides/flake-parts/
-
Replace
hostfwd=tcp::2222-:22with proper bridged networking to get real IP address? -
Replace StrictHostKeyChecking=no with fixed hostkey from secret vault
-
Have both unstable and fixed nix pkgs - for different hosts
-
Try https://nixcademy.com/posts/auto-growing-nixos-appliance-images-with-systemd-repart/
Gemini CLI¶
-
Reads all
docs/**.mdin GEMINI.md ?! -
Despite
.gemini/settings.jsonit still asks for confirmation to runnix fmt- why?
Tools¶
-
Make
bin/vm.shamodules/tools/vm.nixcommand available in devshell asvm -
Formatters are a mess;
tools/git-hooks.nixpre-commit andfmt.nixfornix fmtdon't share .treefmt.toml config? -
Run
nix flake checkin pre-commit hook -
Replace
devshellswithdevShells(Nix), after all?
Clean Up¶
- Consolidate
LearningLinux🐧 repo anddotfiles/NixOShere.
Docs¶
-
Publish e.g. to
nix.vorburger.ch -
Move https://github.com/vorburger/LearningLinux/tree/develop/nix/docs here
-
Move https://github.com/vorburger/LearningLinux/blob/develop/nix/bookmarks.md here
-
Pre-process MD to automagically insert links on anything that looks like a local file path
-
Have an attribute/option in the
modules/**/*.nixto link to the relevantdocs/*.md -
Extract commands from
modules/demo/hello.nixintodocs/hello.mdetc. -
Automagically extract TODO list
Low Priority / Nice to Have¶
-
Suppress (quiet) devshell menu