Re: My first impression for GuixSD

2019-01-06 Thread 荒井吉則
Sure, here it is.



2019年1月7日(月) 6:14 Chris Marusich :

> 荒井吉則  writes:
>
> > Thank you for your advice.
> >
> > At first it's my first installation of GuixSD. My config.scm is edited at
> > locale, users, file-systems only from original desktop-config.scm.
>
> Could you please share the config.scm file that you used?
>
> --
> Chris
>
;; 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-service-modules desktop)
(use-package-modules certs gnome)

(operating-system
  (host-name "WaraToNora")
  (timezone "Asia/Tokyo")
  (locale "ja_JP.utf8")

  ;; Use the UEFI variant of GRUB with the EFI System
  ;; Partition mounted on /boot/efi.
  (bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))

  ;; Specify a mapped device for the encrypted root partition.
  ;; The UUID is that returned by 'cryptsetup luksUUID'.
  (file-systems (cons (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
  %base-file-systems))

  (users (cons (user-account
(name "yoshi")
(comment "Maki's farther")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/yoshi"))
   %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs ;for HTTPS access
   gvfs  ;for user mounts
   %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
  ;; NetworkManager, and more.
  (services (cons* (gnome-desktop-service)
   (xfce-desktop-service)
   %desktop-services))

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


Re: My first impression for GuixSD

2019-01-06 Thread Chris Marusich
荒井吉則  writes:

> Thank you for your advice.
>
> At first it's my first installation of GuixSD. My config.scm is edited at
> locale, users, file-systems only from original desktop-config.scm.

Could you please share the config.scm file that you used?

-- 
Chris


signature.asc
Description: PGP signature


Re: My first impression for GuixSD

2019-01-06 Thread 荒井吉則
Ok, thanks.

2019年1月6日(日) 18:00 Ricardo Wurmus :

>
> 荒井吉則  writes:
>
> > My knowladge of guixsd configuration is not enogh to make my own
> > configuration yet. but my expectation is that I could ajdust system
> > configuration according to ordinal way of postinstallation.
> >
> > For instance, locale setting at config.scm is to install additional fonts
> > according to locale or config of multiboot is that I could edit
> > /etc/grub.d/40_custom for postinstallation.
>
> This won’t work on a Guix system, because it does not generally consult
> files in /etc.  Most system configuration files are generated when
> running “guix system init” (or “guix system reconfigure”) using the
> information provided in the system configuration file.
>
> --
> Ricardo
>
>


Re: My first impression for GuixSD

2019-01-06 Thread Ricardo Wurmus


荒井吉則  writes:

> My knowladge of guixsd configuration is not enogh to make my own
> configuration yet. but my expectation is that I could ajdust system
> configuration according to ordinal way of postinstallation.
>
> For instance, locale setting at config.scm is to install additional fonts
> according to locale or config of multiboot is that I could edit
> /etc/grub.d/40_custom for postinstallation.

This won’t work on a Guix system, because it does not generally consult
files in /etc.  Most system configuration files are generated when
running “guix system init” (or “guix system reconfigure”) using the
information provided in the system configuration file.

-- 
Ricardo




Re: My first impression for GuixSD

2019-01-05 Thread 荒井吉則
Thank you for your advice.

At first it's my first installation of GuixSD. My config.scm is edited at
locale, users, file-systems only from original desktop-config.scm.

My knowladge of guixsd configuration is not enogh to make my own
configuration yet. but my expectation is that I could ajdust system
configuration according to ordinal way of postinstallation.

For instance, locale setting at config.scm is to install additional fonts
according to locale or config of multiboot is that I could edit
/etc/grub.d/40_custom for postinstallation.

Cause of I don't know guixsd way yet.

2019年1月5日(土) 20:14 :

> Hi :)
>
> On 2019-01-05 11:48, 荒井吉則 wrote:
> > I'm installed GuixSD using desktop config.
> > Gnome/Xfce desktop is garbled cause of missing Japanese fonts.
> > And missing /etc/grub.d and grub commands.  I edited
> > /boot/grub/grub.cfg directly to be enable multiboot.
> >
> > Otherwise is OK.  Thank you.
>
> Thanks a lot for your feedback.
>
> Would you be willing to share your config.scm so we can help debug your
> issues?
>
> My knowledge of special fonts in guix is very low but others might have
> succeded with getting japanese fonts to work by tweaking their
> config.scm.
>
> Regarding multiboot, I tried myself some months ago and it worked fine
> after tweaking of my config.scm. Did you specify a custom
> bootloader-configuration? (see info guix --search menu-entries).
>
> Here is the example from the manual:
> Should you want to list additional boot menu entries via the
> menu-entries field above, you will need to create them with the
> menu-entry form. For example, imagine you want to be able to boot
> another distro (hard to imagine!), you can define a menu entry along
> these lines:
>
> (menu-entry
>   (label "The Other Distro")
>   (linux "/boot/old/vmlinux-2.6.32")
>   (linux-arguments '("root=/dev/sda2"))
>   (initrd "/boot/old/initrd"))
>
> --
> Cheers
> Swedebugia
>


Re: My first impression for GuixSD

2019-01-05 Thread swedebugia
Hi :)

On 2019-01-05 11:48, 荒井吉則 wrote:
> I'm installed GuixSD using desktop config.
> Gnome/Xfce desktop is garbled cause of missing Japanese fonts. 
> And missing /etc/grub.d and grub commands.  I edited
> /boot/grub/grub.cfg directly to be enable multiboot.
> 
> Otherwise is OK.  Thank you.

Thanks a lot for your feedback. 

Would you be willing to share your config.scm so we can help debug your
issues?

My knowledge of special fonts in guix is very low but others might have
succeded with getting japanese fonts to work by tweaking their
config.scm.

Regarding multiboot, I tried myself some months ago and it worked fine
after tweaking of my config.scm. Did you specify a custom
bootloader-configuration? (see info guix --search menu-entries).

Here is the example from the manual:
Should you want to list additional boot menu entries via the
menu-entries field above, you will need to create them with the
menu-entry form. For example, imagine you want to be able to boot
another distro (hard to imagine!), you can define a menu entry along
these lines:

(menu-entry
  (label "The Other Distro")
  (linux "/boot/old/vmlinux-2.6.32")
  (linux-arguments '("root=/dev/sda2"))
  (initrd "/boot/old/initrd"))

-- 
Cheers 
Swedebugia



My first impression for GuixSD

2019-01-05 Thread 荒井吉則
I'm installed GuixSD using desktop config.
Gnome/Xfce desktop is garbled cause of missing Japanese fonts.
And missing /etc/grub.d and grub commands.  I edited /boot/grub/grub.cfg
directly to be enable multiboot.

Otherwise is OK.  Thank you.