docs: update project notes for declarative user management

This commit is contained in:
Gabriel Arazas 2023-07-02 12:25:33 +08:00
parent f27b7e045c
commit eed3ce402a
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -253,6 +253,7 @@ nixpkgs-channel = "nixos-unstable-small"
[plover.deploy] [plover.deploy]
hostname = "plover.foodogsquared.one" hostname = "plover.foodogsquared.one"
ssh-user = "admin"
fast-connection = true fast-connection = true
auto-rollback = true auto-rollback = true
magic-rollback = true magic-rollback = true
@ -306,6 +307,15 @@ system = "x86_64-linux"
home-manager-channel = "home-manager-23.05" home-manager-channel = "home-manager-23.05"
home-directory = "/home/foo-dogsquared" home-directory = "/home/foo-dogsquared"
username = "foodogsquared" username = "foodogsquared"
[foo-dogsquared.deploy]
hostname = "local.foodogsquared.one"
ssh-user = "admin"
profile = "foodogsquared"
fast-connection = true
auto-rollback = true
magic-rollback = true
remote-build = true
---- ----
- `system` contains the platform of the home-manager user. - `system` contains the platform of the home-manager user.
@ -323,6 +333,8 @@ By default, it will be set at `/home/$USERNAME`.
If unset, it will use the table key. If unset, it will use the table key.
In the above example, the unset value would be `foo-dogsquared`. In the above example, the unset value would be `foo-dogsquared`.
- `deploy` is pretty similar to the previous configuration setting that it sets certain options for deploy-rs.
[#secrets-management] [#secrets-management]
=== Secrets management === Secrets management