From: SuarezMiguelC via <help-guix@gnu.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: New reconfigure, creating a file under /etc
Date: Mon, 07 Oct 2019 00:12:22 +0000 [thread overview]
Message-ID: <z8ldnvlgtxxLvvuYHXAOZcGNZKob3ayoZrmjTK1MvhC1mOGnNFhaY2hskVNlTLWfS6yOevFlp-UZMdCBP75MReu1LiIF_gsLb1np724Y0Ig=@protonmail.com> (raw)
Hello help guix!, I'm trying to make a reconfigure, where I create a file under /etc.
This because, since I'm using gnome as my desktop environment, I want to add some functionalities on it to be more 'connected' to GuixSD, especifically, create the file 'os-release' with the content 'PRETTY_NAME=Guix-System"', this will make gnome to identify the system and display it on settings, thus a better natural 'connection' between gnome and guix.
Using 'etc-service-type' on my new reconfigure, it looks like this:
(services
(append
(list (service gnome-desktop-service-type)
(service etc-service-type
(list `("os-release" ,(plain-file "os-release"
"PRETTY_NAME=Guix-System"))))
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
%desktop-services)))
Trying to run this reconfigure will cause an error for 'more than one etc service', so I guess I don't have the correct syntax, I've on the IRC chat, but no response, because of this, I write an e-mail.
Thanks in advantage!
next reply other threads:[~2019-10-07 0:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-07 0:12 SuarezMiguelC via [this message]
2019-10-07 2:12 ` New reconfigure, creating a file under /etc John Soo
2019-10-07 6:30 ` Gábor Boskovits
2019-10-07 7:03 ` Efraim Flashner
2019-10-09 8:11 ` Giovanni Biscuolo
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='z8ldnvlgtxxLvvuYHXAOZcGNZKob3ayoZrmjTK1MvhC1mOGnNFhaY2hskVNlTLWfS6yOevFlp-UZMdCBP75MReu1LiIF_gsLb1np724Y0Ig=@protonmail.com' \
--to=help-guix@gnu.org \
--cc=SuarezMiguelC@protonmail.com \
/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.