all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reza Alizadeh Majd <r.majd@pantherx.org>
To: help-guix@gnu.org
Subject: Re: custom service definition files location
Date: Mon, 18 Feb 2019 11:56:56 +0330	[thread overview]
Message-ID: <1550478416.1527317.1659989904.570A990B@webmail.messagingengine.com> (raw)
In-Reply-To: <7B4A83CE-D70F-495C-9455-21FFDE585609@disroot.org>

Thanks for your response. 
sure I will pass my system config file as an argument to guix: 

$ guix system reconfigure /etc/confg.scm

but my question is about to detect my custom service definition files ( myservice.scm ) in order that I could use them inside my config.scm . for existing services, their definition files are located in store, in `/gnu/store/.../gnu/service/` path.

Best, 
Reza


On Mon, Feb 18, 2019, at 2:22 AM, nly wrote:
> Guix system is declared in 1 file. The file may be 'config.scm',or 
> 'xyz.scm', or even 'foo.bar'.
> 
> It is not automatically detected by 'guix system' commands(you might be 
> thinking of nix).
> 
> It is supplied as a command-line argument with the 'guix system' 
> commands. Check 'guix system --help'.
> 
> On February 17, 2019 5:09:26 PM UTC, Reza Alizadeh Majd 
> <r.majd@pantherx.org> wrote:
> >Hi, 
> >
> >does anyone know where do I have to place my custom service definition
> >`.scm` files,
> >in order to automatically be identified by `guix system reconfigure`
> >command? 
> >
> >Thanks,
> >Reza
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

  reply	other threads:[~2019-02-18  8:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-17 17:09 custom service definition files location Reza Alizadeh Majd
2019-02-17 22:52 ` nly
2019-02-18  8:26   ` Reza Alizadeh Majd [this message]
2019-02-18 11:34     ` Ricardo Wurmus
2019-02-18 17:52       ` Reza Alizadeh Majd

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=1550478416.1527317.1659989904.570A990B@webmail.messagingengine.com \
    --to=r.majd@pantherx.org \
    --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.