Unified nix configuration.
home | ||
homepage | ||
pkgs | ||
sys | ||
trivionomicon | ||
.gitignore | ||
COPYING | ||
flake.lock | ||
flake.nix | ||
README.md |
Nix configuration
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
Cleanup
Collect garbage
nix store gc