docs: README

This commit is contained in:
Ryan Yin
2023-06-23 02:18:30 +08:00
parent dd472488b6
commit 14c174890e
2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
#
# NOTE: Makefile's target name should not be the same as one of the file or directory in the current directory,
# otherwise the target will not be executed!
#
############################################################################
#
# Nix commands related to the local machine

View File

@@ -118,7 +118,7 @@ nixos-rebuild --flake .#aquamarine --target-host aquamarine --build-host aquamar
make aqua
```
The commands above will build & deploy the configuration to `aquamarine`, the build process will be executed on `aquamarine` too, and the `--use-remote-sudo` option indicates that we will use `sudo` on the remote host, because `nixos-rebuild switch` needs root permission to deploy the configuration.
The commands above will build & deploy the configuration to `aquamarine`, the build process will be executed on `aquamarine` too, and the `--use-remote-sudo` option indicates that we will use `sudo` on the remote host.
## Other Interesting Dotfiles
@@ -135,3 +135,7 @@ Other dotfiles && docs that inspired me:
- [fufexan/dotfiles](https://github.com/fufexan/dotfiles)
- [davidtwco/veritas](https://github.com/davidtwco/veritas)
- [gvolpe/nix-config](https://github.com/gvolpe/nix-config)
```
```