unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* offload configuration dependant on context
@ 2021-12-16 13:24 zimoun
  0 siblings, 0 replies; only message in thread
From: zimoun @ 2021-12-16 13:24 UTC (permalink / raw)
  To: help-guix

Hi,

For nomadic people as I sometime am, they have sometimes access to
offload build machine, sometimes not.  To be concrete,

 1. when build machine is reachable, I want to *always* offload;
 2. when build machine is not reachable, I accept to burn some CPU.

Well, I can tweak /etc/machines.scm as proposed there [1] to detect
reachable machine.

However, #1 implies daemon option ’--max-jobs=0’ and #2 implies other
daemon configuration as ’--max-jobs=1 --cores=2’.  How could I achieve
that?  Dynamically speaking.


1: <https://issues.guix.gnu.org/issue/24496#3>


Cheers,
simon


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-16 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 13:24 offload configuration dependant on context zimoun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).