nix_config/README.md

11 lines
441 B
Markdown
Raw Permalink Normal View History

2025-01-28 06:20:23 +01:00
## Unified nix configuration
Switch server: `nixos-rebuild switch --target-host root@posixlycorrect.com --use-substitutes --show-trace --flake .\#vps`
Switch current machine: `sudo nixos-rebuild switch --flake . --show-trace`
Switch current home manager: `home-manager switch --flake . --show-trace`
Update homepage: `nix flake update --commit-lock-file --update-input homepage`
Update whole flake: `nix flake update --commit-lock-file`