update readme
This commit is contained in:
parent
be458dc782
commit
f97c234a5a
1 changed files with 19 additions and 12 deletions
31
README.md
31
README.md
|
@ -1,17 +1,24 @@
|
|||
## Screenshots
|
||||
## Nix configuration
|
||||
|
||||
[Click here](https://old.reddit.com/r/unixporn/comments/1ml7w96/sway_minimalist_rice_on_nixos/)
|
||||
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
|
||||
|
||||
|
||||
## Unified nix configuration
|
||||
## Cleanup
|
||||
|
||||
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 homepage`
|
||||
|
||||
Update whole flake: `nix flake update --commit-lock-file`
|
||||
Collect garbage
|
||||
|
||||
nix store gc
|
Loading…
Add table
Add a link
Reference in a new issue