No description
  • Python 57.5%
  • Nix 31.7%
  • Shell 7.5%
  • JavaScript 1.9%
  • CSS 0.8%
  • Other 0.6%
Find a file
Mitchell Pleune d09e11e109
Some checks failed
nixflakes / check (push) Failing after 12m40s
nixflakes / build-devshell (push) Has been skipped
nixflakes / build-mitchvim (push) Has been skipped
nixflakes / build-os-wsl (push) Has been skipped
nixflakes / build-os-lxc (push) Has been skipped
nixflakes / build-os-surface (push) Has been skipped
nixflakes / build-os-git (push) Has been skipped
nixflakes / build-os-git-runner1 (push) Has been skipped
nixflakes / build-os-immich (push) Has been skipped
nixflakes / build-os-nextcloud (push) Has been skipped
nixflakes / build-os-llm (push) Has been skipped
nixflakes / build-os-jump (push) Has been skipped
nixflakes / build-os-notes (push) Has been skipped
nixflakes / build-os-nas (push) Has been skipped
nixflakes / deploy-git (push) Has been skipped
nixflakes / deploy-immich (push) Has been skipped
nixflakes / deploy-nextcloud (push) Has been skipped
nixflakes / deploy-llm (push) Has been skipped
nixflakes / deploy-jump (push) Has been skipped
nixflakes / deploy-notes (push) Has been skipped
nixflakes / deploy-nas (push) Has been skipped
nixflakes / deploy-git-runner1 (push) Has been skipped
update lock
2026-08-25 13:35:33 -04:00
.forgejo/workflows Major refactor of modules 2026-05-02 00:20:11 -04:00
.pi/skills/add-nix-package Add pi agent config system, and starting config 2026-05-15 10:52:45 -04:00
config minor home-manager tweaks 2026-08-25 13:25:18 -04:00
homes update pi infrastructure 2026-08-25 13:25:18 -04:00
lib update pi infrastructure 2026-08-25 13:25:18 -04:00
modules minor home-manager tweaks 2026-08-25 13:25:18 -04:00
pkgs create trilium-git-sync 2026-08-25 13:25:18 -04:00
platforms Major refactor of modules 2026-05-02 00:20:11 -04:00
.gitignore update pi infrastructure 2026-08-25 13:25:18 -04:00
AGENTS.md Add pi agent config system, and starting config 2026-05-15 10:52:45 -04:00
flake.lock update lock 2026-08-25 13:35:33 -04:00
flake.nix update pi infrastructure 2026-08-25 13:25:18 -04:00
overlay.nix create trilium-git-sync 2026-08-25 13:25:18 -04:00
README.md surface: switch to trilium next, nextcloud 2025-08-26 18:36:12 -04:00

Setting up with Lanzaboote (secure-boot)

  1. Disable secure boot and install NixOS
  2. Install system from this flake e.g. sudo nixos-rebuild switch --flake .#surface
  3. Generate secure boot keys with sudo sbctl create-keys
  4. Enroll the keys with sudo sbctl enroll-keys
  5. Reboot

Bootstrap fresh system (WSL)

nix shell nixpkgs#git --extra-experimental-features "nix-command flakes"
git clone https://git.pleunetowne.com/mitchpleune/nixflakes.git && cd nixflakes
sudo nixos-rebuild switch --flake .#wsl

Then from a new tab, confirm that NixOS still works with nixos -d nixos -u mitch. If so, restart WSL

wsl --shutdown

Then Re-open your nix tab, and transfer the repo over to the new user directory

sudo mv /home/nixos/nixflakes .
sudo chown -R $USER:users nixflakes/
sudo rm -rf /home/nixos

Running custom Neovim

nix run git+https://git.pleunetowne.com/mitchpleune/nixflakes.git#mitchvim --option substituters "https://nix.pleunetowne.com/?trusted=1"

Deploy to all nix homelab components

# optional update
nix flake update

# builds and deploys to every nix host
nix develop . -c deploy

Errata

nix build --rebuild nixpkgs#gitMinimal tests sometimes randomly fail on ZFS. higher disk priority and higher ulimit seems to help, but does not fix it.

TODO

  • Change VMs to be very swappy since most times swap will be ram-compressed-cached and very fast

Notes

If font is broken after an update:

rm -r ~/.cache/fontconfig
fc-cache -vr