Unified nix configuration.
Flake lock file updates: • Updated input 'homepage': 'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=12dda9046d1a412c455889dac9858183dd106006' (2025-09-17) → 'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=50d499a8fc192450719720680b6361f1e20cfa55' (2025-09-17) |
||
---|---|---|
home | ||
pkgs | ||
sys | ||
trivionomicon | ||
.gitignore | ||
COPYING | ||
flake.lock | ||
flake.nix | ||
README.md |
Nix configuration
Updating
Update flake
nix flake update --commit-lock-file
Switch current machine
sudo nixos-rebuild switch --flake . --show-trace
Switch current home manager
home-manager switch --flake . --show-trace
Switch server
nixos-rebuild switch --target-host root@posixlycorrect.com --use-substitutes --show-trace --flake .\#vps
Update homepage
nix flake update --commit-lock-file homepage
Cleanup
Collect garbage (run with sudo to collect root garbage)
nix-collect-garbage -d
Submodule management
Trivionomicon
git subtree push --prefix=trivionomicon forgejo@git.posixlycorrect.com:deepState/trivionomicon.git master
git subtree pull --prefix=trivionomicon forgejo@git.posixlycorrect.com:deepState/trivionomicon.git master
About
This is a unification of my old configs, which had a combined 506 commits.