No description
Find a file
Mitchell Pleune 375f0daa07
Some checks failed
nixflakes / check (push) Successful in 1m58s
nixflakes / build-devshell (push) Successful in 18s
nixflakes / build-mitchvim (push) Successful in 27s
nixflakes / build-os-wsl (push) Successful in 30s
nixflakes / build-os-lxc (push) Successful in 29s
nixflakes / build-os-surface (push) Successful in 2h17m38s
nixflakes / build-os-git (push) Successful in 1m18s
nixflakes / build-os-git-runner1 (push) Successful in 27s
nixflakes / build-os-immich (push) Successful in 30s
nixflakes / build-os-nextcloud (push) Successful in 27s
nixflakes / build-os-llm (push) Failing after 1m8s
nixflakes / deploy-llm (push) Has been skipped
nixflakes / build-os-jump (push) Successful in 35s
nixflakes / build-os-notes (push) Successful in 26s
nixflakes / build-os-nas (push) Successful in 25s
nixflakes / deploy-git (push) Failing after 1m49s
nixflakes / deploy-git-runner1 (push) Successful in 30s
nixflakes / deploy-immich (push) Successful in 31s
nixflakes / deploy-nextcloud (push) Successful in 30s
nixflakes / deploy-jump (push) Successful in 41s
nixflakes / deploy-notes (push) Successful in 34s
nixflakes / deploy-nas (push) Successful in 28s
disable all gcc.arch
I'm tired of waiting on long builds when trying to fix stuff
2025-10-08 10:35:42 -04:00
.forgejo/workflows CICD: tags from deployments 2025-08-08 08:31:11 -04:00
modules remove nextcloud due to compile failure 2025-10-02 18:23:55 -04:00
pkgs/incus-backup-rustic incus-backup-rustic: config wait instance shutdown and backup 2025-01-21 18:01:35 -05:00
platforms disable all gcc.arch 2025-10-08 10:35:42 -04:00
.gitignore Initial commit 2024-04-03 16:48:21 -04:00
flake.lock update and fix immich ML 2025-09-22 15:34:22 -04:00
flake.nix update and fix immich ML 2025-09-22 15:34:22 -04:00
overlay.nix overlay: remove those that are now merged 2025-08-08 08:35:05 -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