all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: help-guix@gnu.org
Subject: Re: FQDN
Date: Sun, 28 Apr 2019 13:30:23 +0200	[thread overview]
Message-ID: <87pnp6bc57.fsf@nckx> (raw)
In-Reply-To: <2bc86c1fb60d921230d2f391e4732280@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2019-04-28 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-28  9:33 FQDN Raghav Gururajan
2019-04-28 11:30 ` Tobias Geerinckx-Rice [this message]
2019-04-28 11:38   ` FQDN Tobias Geerinckx-Rice
2019-04-28 11:53     ` FQDN Pierre Neidhardt
2019-04-28 17:38       ` nckx's siggy (was: FQDN) Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnp6bc57.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.