No description
|
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
I'm tired of waiting on long builds when trying to fix stuff |
||
|---|---|---|
| .forgejo/workflows | ||
| modules | ||
| pkgs/incus-backup-rustic | ||
| platforms | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| overlay.nix | ||
| README.md | ||
Setting up with Lanzaboote (secure-boot)
- Disable secure boot and install NixOS
- Install system from this flake e.g.
sudo nixos-rebuild switch --flake .#surface - Generate secure boot keys with
sudo sbctl create-keys - Enroll the keys with
sudo sbctl enroll-keys - 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