From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mjzGFMnRDWCIQgAA0tVLHw (envelope-from ) for ; Sun, 24 Jan 2021 20:00:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SFg2EMnRDWBCQAAAbx9fmQ (envelope-from ) for ; Sun, 24 Jan 2021 20:00:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8F6C09404C4 for ; Sun, 24 Jan 2021 20:00:08 +0000 (UTC) Received: from localhost ([::1]:48878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3lYN-0004gG-Gu for larch@yhetil.org; Sun, 24 Jan 2021 15:00:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3lY8-0004fx-KH for help-guix@gnu.org; Sun, 24 Jan 2021 14:59:52 -0500 Received: from marvid.fr ([163.172.81.107]:51886 helo=courriel.marvid.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3lY6-0003iD-IV for help-guix@gnu.org; Sun, 24 Jan 2021 14:59:52 -0500 Received: from localhost (schwifty.marvid.fr [51.159.4.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by sahkopoika (Postfix) with ESMTPSA id BC52F47F1F71; Sun, 24 Jan 2021 20:59:17 +0100 (CET) References: <874kj6duek.fsf@colimite.fr> User-agent: mu4e 1.4.13; emacs 27.1 From: Sergiu Ivanov To: Ekaitz Zarraga Subject: Re: Defining custom services in /etc/config.scm In-reply-to: Date: Sun, 24 Jan 2021 20:59:17 +0100 Message-ID: <87y2gicdii.fsf@colimite.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=163.172.81.107; envelope-from=sivanov@colimite.fr; helo=courriel.marvid.fr X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, FORGED_SPF_HELO=2.297, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "help-guix@gnu.org" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 8F6C09404C4 X-Spam-Score: -2.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3GTUFQrjmiDy Hi Ekaitz, Thank you for your very fast answer! Thus quoth Ekaitz Zarraga on Sun Jan 24 2021 at 20:19 (+0100): > > I recently made my redshift configuration using shepherd user > services, which is what people in IRC recommended me. > > You can find it here: > https://github.com/ekaitz-zarraga/dotfiles/tree/guix/shepherd/shepherd I see, this is what I saw here as well https://guix.gnu.org/blog/2020/gnu-shepherd-user-services/ , but I didn't know whether I should prefer this solution over other possibilities. > Also, it forces me to run the shepherd as a user using my i3 config. OK, so I note that I'll have to include shepherd in my startup scripts. > I also wanted to configure it in my config.scm file but people > convinced me not to do so. Ah, interesting, good to know. Thank you for the feedback! > I'm not sure why your case shouldn't work though. Maybe somebody here will have the time to explain the details, but for the time being I will go with your solution, as it has the benediction of the IRC herd :-) - Sergiu > Best, > Ekaitz