help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FQDN


From: Tobias Geerinckx-Rice
Subject: Re: FQDN
Date: Sun, 28 Apr 2019 13:30:23 +0200

Raghav,

Raghav Gururajan wrote:
How to add "hostname" as "hostname.domain.tld" in system config? I am looking for the exact syntax.

 (host-name "lapdog.tobias.gr")

Which is so obvious that I assume you tried it & it didn't work? It works here:

 $ hostname
 lapdog.tobias.gr

I also have:

 (hosts-file (plain-file "hosts" (string-append "\
127.0.0.1 " host-name " localhost
::1       " host-name " localhost
")))

...but that's completely optional.

Kind regards,

T G-R

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]