update readme

This commit is contained in:
Fabian Montero 2025-08-25 23:39:30 -06:00
parent be458dc782
commit f97c234a5a
Signed by: fabian
GPG key ID: 1FFAC35E1798174F

View file

@ -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