diff options
| author | EuAndreh <eu@euandre.org> | 2020-11-02 17:25:06 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-11-02 17:25:06 -0300 |
| commit | 4d35684a71a18ac8ee4706f0972bd3b9e387d046 (patch) | |
| tree | aee3a64cacd809dee85c233135bb59ae5dd63c07 | |
| parent | Add Vultr API KEY to .envrc to enable calling "terraform destroy" from shell (diff) | |
| download | server-4d35684a71a18ac8ee4706f0972bd3b9e387d046.tar.gz server-4d35684a71a18ac8ee4706f0972bd3b9e387d046.tar.xz | |
README: Rename nixos-update.sh -> nixos-switch.sh
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ direnv allow ./terraform-update.sh # wait for the DNS to propagate, so # letsencrypt can create the certificates -./nixos-update.sh +./nixos-switch.sh ``` ### After an update on `vps.tf` @@ -18,7 +18,7 @@ Same as above. ### After editing `vps-configuration.nix` or other OS files -Just run the `./nixos-update.sh` script. +Just run the `./nixos-switch.sh` script. ## Base image The basic `configuration.nix` file in the current snapshots looks just like this: @@ -68,7 +68,7 @@ user to write to it by piping through SSH without trying some sudo chown andreh /etc/nixos/configuration.nix ``` -With that `./nixos-update.sh` can write to the NixOS configuration file without +With that `./nixos-switch.sh` can write to the NixOS configuration file without running into issues with `sudo` password permissions through the SSH pipe while writing to stdin. |
