From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: FQDN Date: Sun, 28 Apr 2019 13:30:23 +0200 Message-ID: <87pnp6bc57.fsf@nckx> References: <2bc86c1fb60d921230d2f391e4732280@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKi11-0006JN-09 for help-guix@gnu.org; Sun, 28 Apr 2019 07:30:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKi0y-0005zX-P2 for help-guix@gnu.org; Sun, 28 Apr 2019 07:30:38 -0400 Received: from tobias.gr ([2001:470:7405::1]:35520) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKi0y-0005yP-7E for help-guix@gnu.org; Sun, 28 Apr 2019 07:30:36 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id ba12f0ed for ; Sun, 28 Apr 2019 11:30:27 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 8d304247 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 28 Apr 2019 11:30:24 +0000 (UTC) In-reply-to: <2bc86c1fb60d921230d2f391e4732280@disroot.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --=-=-= Content-Type: text/plain; format=flowed 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXMWOzwAKCRANsP+IT1Vt eXcAAQDzZR12Epd8EVms/3yUC/DMys4f3HAKVBOhqc85RFALDQD9GaaW9GnMTNnC XEBFTJL/STPUWplQ/a5F8nau1lRWbQA= =HirB -----END PGP SIGNATURE----- --=-=-=--