forked from fabian/nix
Unified nix configuration.
Flake lock file updates: • Updated input 'homepage': 'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=5288dee6b31d08f57f66359b099dc78cf5cd398b' (2025-09-16) → 'git+https://git.posixlycorrect.com/fabian/homepage.git?ref=refs/heads/master&rev=b71384e9923edce80be26522d0067d9dedfe8864' (2025-09-16) • Updated input 'homepage/nixpkgs': 'path:/nix/store/f0ddmw6s86y567yg06h5019z72szbzch-source?lastModified=1719426051&narHash=sha256-yJL9VYQhaRM7xs0M867ZFxwaONB9T2Q4LnGo1WovuR4%3D&rev=89c49874fb15f4124bf71ca5f42a04f2ee5825fd' (2024-06-26) → follows 'nixpkgs' |
||
---|---|---|
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.