No description
  • Nix 88.8%
  • Python 11.2%
Find a file
Mitchell Pleune 48995255aa
Some checks failed
nixflakes / check (push) Successful in 3m9s
nixflakes / build-devshell (push) Successful in 3m47s
nixflakes / build-mitchvim (push) Successful in 11m45s
nixflakes / build-os-wsl (push) Successful in 3m4s
nixflakes / build-os-lxc (push) Successful in 1m6s
nixflakes / build-os-surface (push) Successful in 2h3m40s
nixflakes / build-os-git (push) Successful in 1m28s
nixflakes / build-os-git-runner1 (push) Successful in 4m21s
nixflakes / build-os-immich (push) Successful in 6h28m59s
nixflakes / build-os-nextcloud (push) Successful in 1m23s
nixflakes / build-os-llm (push) Successful in 1h14m37s
nixflakes / build-os-jump (push) Successful in 45s
nixflakes / build-os-notes (push) Successful in 33s
nixflakes / build-os-nas (push) Failing after 1m17s
nixflakes / deploy-nas (push) Has been skipped
nixflakes / deploy-git (push) Failing after 2m43s
nixflakes / deploy-git-runner1 (push) Successful in 27s
nixflakes / deploy-immich (push) Successful in 6m46s
nixflakes / deploy-nextcloud (push) Successful in 3m25s
nixflakes / deploy-llm (push) Successful in 7m27s
nixflakes / deploy-jump (push) Successful in 5m45s
nixflakes / deploy-notes (push) Successful in 1m32s
fixes after update
2026-02-25 05:01:23 +00:00
.forgejo/workflows CICD: tags from deployments 2025-08-08 08:31:11 -04:00
modules fixes after update 2026-02-25 05:01:23 +00:00
pkgs Paperless: paperless-gpt working 2025-12-27 00:34:15 +00:00
platforms fixes after update 2026-02-25 05:01:23 +00:00
.gitignore Initial commit 2024-04-03 16:48:21 -04:00
flake.lock fixes after update 2026-02-25 05:01:23 +00:00
flake.nix fixes after update 2026-02-25 05:01:23 +00:00
overlay.nix Remove nextcloud client, zed-overlay 2026-02-22 18:27:08 -05: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