all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Catonano <catonano@gmail.com>
To: t_w_@freenet.de
Cc: help-guix <help-guix@gnu.org>
Subject: Re: this conf doesnt work. Why ?
Date: Sun, 18 Mar 2018 12:38:40 +0100	[thread overview]
Message-ID: <CAJ98PDyU=a5_698_M1137LK9RYeEQgNxc=wk-iHQEK6LMtbZmw@mail.gmail.com> (raw)
In-Reply-To: <fde09f16-b8b8-ca9d-66b0-de552870124c@freenet.de>

[-- Attachment #1: Type: text/plain, Size: 2654 bytes --]

Than you Thorsten

This is a simpler version (I gave up on thhe customized slim service :- )
and it works, the graphicl env shows up



2018-03-18 11:15 GMT+01:00 Thorsten Wilms <t_w_@freenet.de>:


>
> That modify-services looks very suspicious. Why the nested cons*?
>

I simply didn't remember how to use cons* ;-)


> Aside of that, I wonder if you have to put the xorg server into either
> global packages, or install it for root.



;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu) (gnu system nss))
;(use-modules (gnu packages tryton))
;(use-modules (gnu packages databases))
;(use-modules (gnu packages xorg))
(use-modules (gnu services xorg))
(use-service-modules desktop)
(use-package-modules certs gnome)
;(use-service-modules databases)

;(use-service-modules trytond)



(operating-system
  (host-name "antelope")
  (timezone "Europe/Paris")
  (locale "it_IT.utf8")

  ;;This is to be able to login into a guest system
  (kernel-arguments '("console=ttyS0"))

  ;; Assuming /dev/sdX is the target hard disk, and "my-root"
  ;; is the label of the target root file system.
  (bootloader (grub-configuration (target "/dev/sda")))

  (file-systems (cons (file-system
                        (device "my-root")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4")

                      )
                      %base-file-systems))

  (users (cons (user-account
                (name "catonano")
        (password (crypt " " "ab"))
                (comment "Alice's brother")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/catonano"))
               %base-user-accounts))


  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   gvfs              ;for user mounts
           ;;python-trytond
           ;;tryton
           ;;postgresql
                   %base-packages))

  ;; Add GNOME and/or Xfce---we can choose at the log-in
  ;; screen with F1.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with Wicd,
  ;; and more.

  (services

   (cons*
    (service agetty-service-type
         (agetty-configuration (tty "ttyS0")))
    (gnome-desktop-service)
    (xfce-desktop-service)
    %desktop-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

[-- Attachment #2: Type: text/html, Size: 4125 bytes --]

  reply	other threads:[~2018-03-18 11:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-17 20:46 this conf doesnt work. Why ? Catonano
2018-03-18 10:15 ` Thorsten Wilms
2018-03-18 11:38   ` Catonano [this message]
2018-03-18 11:42     ` Catonano
2018-03-19  4:08 ` Chris Marusich
2018-03-19  5:54   ` Catonano

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='CAJ98PDyU=a5_698_M1137LK9RYeEQgNxc=wk-iHQEK6LMtbZmw@mail.gmail.com' \
    --to=catonano@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=t_w_@freenet.de \
    /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.