sshwifty
Example
nix
{config, ...}: {
sshwifty = {
enable = true;
settings = {
SharedKey = "{{ file.Read `${config.sops.secrets."sshwifty/web_password".path}`}}";
};
};
}Stack Options
nps.stacks.sshwifty.containers.sshwifty
Alias of {option}services.podman.containers.sshwifty.
nps.stacks.sshwifty.enable
Whether to enable sshwifty.
nps.stacks.sshwifty.settings
Configuration settings that will be mounted as the sshwifty.conf.json file.
The final configuration file will be templated with gomplate, so secrets can be read from files or environment variables for example.
See https://github.com/nirui/sshwifty?tab=readme-ov-file#configuration
Type
plaintext
null or JSON value
Default
nix
{ }
Example
nix
{
SharedKey = "{{ file.Read `/run/secrets/web_password`}}";
}
Declaration