No description
Find a file
Mitchell Pleune 404daec46a
Some checks failed
nixflakes / check (push) Successful in 22m0s
nixflakes / build-devshell (push) Successful in 3m41s
nixflakes / build-mitchvim (push) Successful in 11m23s
nixflakes / build-os-wsl (push) Successful in 3m2s
nixflakes / build-os-lxc (push) Successful in 1m4s
nixflakes / build-os-surface (push) Failing after 1h28m7s
nixflakes / build-os-git (push) Successful in 1m50s
nixflakes / build-os-git-runner1 (push) Successful in 4m6s
nixflakes / build-os-immich (push) Successful in 6h34m44s
nixflakes / build-os-nextcloud (push) Successful in 1m35s
nixflakes / build-os-llm (push) Successful in 1h4m34s
nixflakes / build-os-jump (push) Successful in 42s
nixflakes / build-os-notes (push) Successful in 33s
nixflakes / build-os-nas (push) Successful in 1m36s
nixflakes / deploy-git (push) Failing after 3m51s
nixflakes / deploy-git-runner1 (push) Successful in 27s
nixflakes / deploy-immich (push) Successful in 8m42s
nixflakes / deploy-nextcloud (push) Successful in 3m12s
nixflakes / deploy-llm (push) Successful in 7m30s
nixflakes / deploy-jump (push) Successful in 6m2s
nixflakes / deploy-notes (push) Successful in 1m13s
nixflakes / deploy-nas (push) Successful in 4m15s
flake.lock: Update
Flake lock file updates:

• Updated input 'NixOS-WSL':
    'github:nix-community/NixOS-WSL/10124c58674360765adcb38c9a8b081fb72904e4?narHash=sha256-FxKIa3OCSRVC23qrk7VT68vExUcmSruJ8OobVlSWOxc%3D' (2025-12-03)
  → 'github:nix-community/NixOS-WSL/b160ef46075d8ddc73f026909282d47c0eabb836?narHash=sha256-dgSPo%2BNeAwcBeP4Un9GT%2BSMsOdLAc0DOLP6cFqoMHK8%3D' (2025-12-13)
• Updated input 'NixOS-WSL/flake-compat':
    'github:edolstra/flake-compat/f387cd2afec9419c8ee37694406ca490c3f34ee5?narHash=sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4%3D' (2025-10-27)
  → 'github:edolstra/flake-compat/65f23138d8d09a92e30f1e5c87611b23ef451bf3?narHash=sha256-4VBOP18BFeiPkyhy9o4ssBNQEvfvv1kXkasAYd0%2BrrA%3D' (2025-12-07)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/2cccadc7357c0ba201788ae99c4dfa90728ef5e0?narHash=sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q%3D' (2025-11-21)
  → 'github:hercules-ci/flake-parts/5635c32d666a59ec9a55cab87e898889869f7b71?narHash=sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM%3D' (2025-12-11)
• Updated input 'home-manager':
    'github:nix-community/home-manager/05a56dbf24f195c62286e3273a2671d3b4904b00?narHash=sha256-uZuXRz9CzeCHsRbc2MQvKomwoX6GcFC5BUMEk3ouSFU%3D' (2025-12-04)
  → 'github:nix-community/home-manager/d787ec69c3216ea33be1c0424fe65cb23aa8fb31?narHash=sha256-KOP4QnkiRwiD5KEOr6ceF67rfTP1OqPmCCft6xDC3k4%3D' (2025-12-13)
• Updated input 'lanzaboote':
    'github:nix-community/lanzaboote/6242b3b2b5e5afcf329027ed4eb5fa6e2eab10f1?narHash=sha256-HggOVvg2U3EwT44wPHEwFKromf9qR9rTqfV1i3q7rYs%3D' (2025-12-01)
  → 'github:nix-community/lanzaboote/e8c096ade12ec9130ff931b0f0e25d2f1bc63607?narHash=sha256-RJmgVDzjRI18BWVogG6wpsl1UCuV6ui8qr4DJ1LfWZ8%3D' (2025-12-10)
• Updated input 'lanzaboote/crane':
    'github:ipetkov/crane/d9e753122e51cee64eb8d2dddfe11148f339f5a2?narHash=sha256-j8iB0Yr4zAvQLueCZ5abxfk6fnG/SJ5JnGUziETjwfg%3D' (2025-11-23)
  → 'github:ipetkov/crane/69f538cdce5955fcd47abfed4395dc6d5194c1c5?narHash=sha256-aBVHGWWRzSpfL%2B%2BLubA0CwOOQ64WNLegrYHwsVuVN7A%3D' (2025-12-07)
• Updated input 'lanzaboote/pre-commit':
    'github:cachix/pre-commit-hooks.nix/50b9238891e388c9fdc6a5c49e49c42533a1b5ce?narHash=sha256-QlcnByMc8KBjpU37rbq5iP7Cp97HvjRP0ucfdh%2BM4Qc%3D' (2025-11-24)
  → 'github:cachix/pre-commit-hooks.nix/548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c?narHash=sha256-rhSqPNxDVow7OQKi4qS5H8Au0P4S3AYbawBSmJNUtBQ%3D' (2025-12-06)
• Updated input 'lanzaboote/rust-overlay':
    'github:oxalica/rust-overlay/3bfa664055e1a09c6aedab5533c5fc8d6ca5741a?narHash=sha256-sa9f81B1dWO16QtgDTWHX8DQbiHKzHndpaunY5EQtwE%3D' (2025-11-30)
  → 'github:oxalica/rust-overlay/769156779b41e8787a46ca3d7d76443aaf68be6f?narHash=sha256-KFDCdQcHJ0hE3Nt5Gm5enRIhmtEifAjpxgUQ3mzSJpA%3D' (2025-12-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/418468ac9527e799809c900eda37cbff999199b6?narHash=sha256-7WUCZfmqLAssbDqwg9cUDAXrSoXN79eEEq17qhTNM/Y%3D' (2025-12-02)
  → 'github:NixOS/nixpkgs/2fbfb1d73d239d2402a8fe03963e37aab15abe8b?narHash=sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0%3D' (2025-12-11)
• Updated input 'nixvim':
    'github:nix-community/nixvim/5d1c27e53c96e2c94e69f2e2d083ef147b3a3ccb?narHash=sha256-94SMf4Uw5iSoX37ui6LAdcadCUHUDfrvggGay0uWkis%3D' (2025-12-03)
  → 'github:nix-community/nixvim/74136352cf4156933249c5b83506b334fde2d596?narHash=sha256-E9GkqwFEsdwvb8oknkqM7sk/PBLWb5pBpRGtG2HRrSI%3D' (2025-12-13)
• Removed input 'nixvim/nuschtosSearch'
• Removed input 'nixvim/nuschtosSearch/flake-utils'
• Removed input 'nixvim/nuschtosSearch/flake-utils/systems'
• Removed input 'nixvim/nuschtosSearch/ixx'
• Removed input 'nixvim/nuschtosSearch/ixx/flake-utils'
• Removed input 'nixvim/nuschtosSearch/ixx/nixpkgs'
• Removed input 'nixvim/nuschtosSearch/nixpkgs'
2025-12-13 17:21:45 +00:00
.forgejo/workflows CICD: tags from deployments 2025-08-08 08:31:11 -04:00
modules fix wake-on-lan-api missing wantedBy 2025-11-04 18:26:25 -05:00
pkgs Add wake-on-lan-api for llm 2025-11-04 18:25:40 -05:00
platforms llm: switch document parse from docling back to tika 2025-11-13 23:08:18 +00:00
.gitignore Initial commit 2024-04-03 16:48:21 -04:00
flake.lock flake.lock: Update 2025-12-13 17:21:45 +00:00
flake.nix don't use deploy-rs from upstread binary cache 2025-11-04 22:15:27 -05:00
overlay.nix overlay: zed-editor GLES is broken 2025-11-20 23:38:07 +00: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