forked from fabian/nix
Unified nix configuration for server, desktop and laptop.
Flake lock file updates:
• Updated input 'nur':
'github:nix-community/NUR/bf9740bcab46c4546d0587abd432a3fc63b7731c?narHash=sha256-n4W9L7uIKoeZ5m6woFdpKejGITjewmswZSyKzjdmGQo%3D' (2026-03-08)
→ 'github:nix-community/NUR/6d9dbcbc33f9bfbcaf72840023afe48a65386398?narHash=sha256-DTxdvGBSp9gKNbvTk46u7X4fAJ7gCAUbl/nWkOs0uJU%3D' (2026-03-08)
• Updated input 'trivionomicon':
'path:./trivionomicon'
→ 'path:./trivionomicon'
|
||
|---|---|---|
| home | ||
| pkgs | ||
| sys | ||
| trivionomicon | ||
| .gitignore | ||
| CLAUDE.md | ||
| 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.