all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rodrigo Morales <me@rodrigomorales.site>
To: <help-guix@gnu.org>
Subject: How to list all the discoverable Guix systems in my network?
Date: Wed, 17 Jan 2024 21:02:13 -0500	[thread overview]
Message-ID: <87il3rtn4q.fsf@rodrigomorales.site> (raw)


I have a system (A) running Guix SD whose /gnu/store I use as a
repository for applications that I commonly install in other Guix SD
systems.

In system (A), I usually use "guix publish" to make it visible to other
systems. Whenever I install Guix SD in other system (B), I need system
(A) to be discoverable, I usually do this by running the following
commands in system (A)

#+BEGIN_SRC sh
sudo guix publish -u rdrg -a -C 0
sudo cp /etc/guix/signing-key.pub /tmp/system-a.pub
rsync /tmp/system-a.pub "$user@$host:/tmp"
#+END_SRC

and the following commands in system (B)

#+BEGIN_SRC sh
sudo guix archive --authorize < /tmp/system-a.pub
sudo herd discover guix-daemon on
#+END_SRC

Sometimes system (A) needs is turned off, so it is not discverable by
system (B). Before running a command in system (B), I want to know
whether system (A) is available or not.

My question is: In system (B), how to list all Guix systems that are
publishing and would be used for downloading packages when needed?


             reply	other threads:[~2024-01-18  2:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-18  2:02 Rodrigo Morales [this message]
2024-01-18  3:27 ` How to list all the discoverable Guix systems in my network? Felix Lechner via
2024-01-18  5:16 ` Felix Lechner via

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=87il3rtn4q.fsf@rodrigomorales.site \
    --to=me@rodrigomorales.site \
    --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.