From f97c234a5ab2c3b2cd66f84de955fa37e16e6143 Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Mon, 25 Aug 2025 23:39:30 -0600 Subject: [PATCH] update readme --- README.md | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f5da218..38c4817 100644 --- a/README.md +++ b/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 \ No newline at end of file