ng0 <contact....@cryptolab.net> writes:

> Before I lock myself out, this is the definition for defaults.
> So:
>  (service openssh-service-type
>           (openssh-configuration
>             (port-number 12121)))
>
> becomes:
>   (service openssh-service-type
>           (port-number 12121))
>
> or is this just a definition for defaults and not the configuration, and
> when the configuration is specified it is still like before this commit?

The “openssh-service-type” has a default value
“(openssh-configuration)”.  If you want to override parts of the default
configuration you can use the “modify-services” syntax.  Your second
snippet is incorrect, because “service” expects a type and a
configuration value, but you gave it a type and “(port-number 12121)”,
which is not a valid configuration.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net


Reply via email to