docs/site: update "Declarative host management"

This commit is contained in:
Gabriel Arazas 2023-12-05 10:41:15 +08:00
parent 4138647ea7
commit 45ca261ac5
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -30,6 +30,7 @@ format = "iso"
hostname = "ploverrific" hostname = "ploverrific"
domain = "foodogsquared.one" domain = "foodogsquared.one"
nixpkgs-channel = "nixos-unstable-small" nixpkgs-channel = "nixos-unstable-small"
home-manager-channel = "home-manager-unstable"
[plover.deploy] [plover.deploy]
hostname = "plover.foodogsquared.one" hostname = "plover.foodogsquared.one"
@ -59,6 +60,10 @@ It is set for `networking.domain` in NixOS configuration.
The value could be any one of the nixpkgs flake inputs imported into this flake. The value could be any one of the nixpkgs flake inputs imported into this flake.
By default, it uses `nixpkgs` flake input which points to the `nixos-unstable` channel. By default, it uses `nixpkgs` flake input which points to the `nixos-unstable` channel.
- `home-manager-channel` is the home-manager channel to be used for the host.
The value could be any one of the home-manager flake inputs imported into this flake.
By default, it uses `home-manager` flake input which follows the `home-manager-unstable` channel.
- `deploy` is a table containing arguments from github:serokell/deploy-rs[opts=repo]. - `deploy` is a table containing arguments from github:serokell/deploy-rs[opts=repo].
Only a few arguments are accepted (i.e., `hostname`, `fast-connection`, `remote-build`, `magic-rollback`, and `auto-rollback`). Only a few arguments are accepted (i.e., `hostname`, `fast-connection`, `remote-build`, `magic-rollback`, and `auto-rollback`).