No description
- Nix 88.8%
- Python 11.2%
|
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
|
||
|---|---|---|
| .forgejo/workflows | ||
| modules | ||
| pkgs | ||
| 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