unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* New reconfigure, creating a file under /etc
@ 2019-10-07  0:12 SuarezMiguelC via
  2019-10-07  2:12 ` John Soo
  2019-10-07  7:03 ` Efraim Flashner
  0 siblings, 2 replies; 5+ messages in thread
From: SuarezMiguelC via @ 2019-10-07  0:12 UTC (permalink / raw)
  To: help-guix@gnu.org

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!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-09  8:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-07  0:12 New reconfigure, creating a file under /etc SuarezMiguelC via
2019-10-07  2:12 ` John Soo
2019-10-07  6:30   ` Gábor Boskovits
2019-10-07  7:03 ` Efraim Flashner
2019-10-09  8:11   ` Giovanni Biscuolo

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).