11 lines
441 B
Markdown
11 lines
441 B
Markdown
|
## 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`
|