disk-image and partitions

2019-04-14 Thread rendaw
I think I'd like to use disk-image but a number of things were unclear from the documentation: 1. What and how many partitions are created? Reading the -t parameter I assume it's an image with just 1 root partition. If I need UEFI will an efi partition be created? 2. How can I refer to the creat

Services and log management/monitoring

2019-04-14 Thread rendaw
The manual talks about standard services vs shepherd services, but doesn't really discuss which either are. My impression is a standard service is simply a process guix runs on the system (at startup, based on the graph?), where a shepherd service is a process that is managed (may be manually star

disk-image and partitions

2019-04-15 Thread rendaw
So it looks like the root uuid might be generated, but from what I read vfat uuids are translated from a partition serial number that isn't manipulated in the guix source so getting uuids beforehand might be impossible. Both the root and efi partitions get a label, so I might be able to use those

Re: Remounting tmpfs

2019-04-16 Thread rendaw
On 4/10/19 12:24 AM, 7e9wc56emja...@s.rendaw.me wrote: > On 4/9/19 11:58 PM, Ludovic Courtès wrote: >> Hello, >> >> 7e9wc56emja...@s.rendaw.me skribis: >> >>> On a system I'm porting to guix I have 2GB tmpfs with subdirectories >>> like /tmpfs/etc that I remount to /etc with an overlay filesystem.

Re: disk-image and partitions

2019-04-16 Thread rendaw
On 4/14/19 6:16 PM, rendaw wrote: > I think I'd like to use disk-image but a number of things were unclear > from the documentation: > > 1. What and how many partitions are created? > > Reading the -t parameter I assume it's an image with just 1 root > partit

Re: Remounting tmpfs

2019-04-17 Thread rendaw
On 4/18/19 5:31 AM, Ludovic Courtès wrote: > Hi, > > 7e9wc56emja...@s.rendaw.me skribis: > >> On 4/9/19 11:58 PM, Ludovic Courtès wrote: >>> Hello, >>> >>> 7e9wc56emja...@s.rendaw.me skribis: >>> On a system I'm porting to guix I have 2GB tmpfs with subdirectories like /tmpfs/etc that I

Re: Services and log management/monitoring

2019-04-18 Thread rendaw
On 4/18/19 6:20 AM, Ludovic Courtès wrote: > Hello! > > The kind of “service” that Guix manages is those described here: > > > https://www.gnu.org/software/guix/manual/en/html_node/Service-Composition.html > > The first paragraph tries to explain it: > > Here we define a “service” as, broadl

Re: Services and log management/monitoring

2019-04-19 Thread rendaw
On 4/19/19 9:09 PM, Ludovic Courtès wrote: > Hi, > > rendaw <7e9wc56emja...@s.rendaw.me> skribis: > >> I think fundamentally what I'd most like to know is when should I use a >> Shepherd service vs a non-Shepherd service.  Maybe it's as simple as: if >

Re: disk-image and partitions

2019-04-21 Thread rendaw
On 4/17/19 5:40 AM, rendaw wrote: > On 4/14/19 6:16 PM, rendaw wrote: >> I think I'd like to use disk-image but a number of things were unclear >> from the documentation: >> >> 1. What and how many partitions are created? >> >> Reading the -t param

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-03 Thread rendaw
On 5/4/19 12:36 AM, zna...@disroot.org wrote: > I want to try to use G-expressions to change 'mom' user shell to dash. > I have this error: > > # guix system reconfigure config-znavko.scm > ... > building > /gnu/store/zhmd8fr5v86wnaf6apcz4281c008fjv5-shepherd-user-homes.scm.drv... > building /gnu/

Re: guile scheme tutorial

2019-05-03 Thread rendaw
wn resources to learn Guile Scheme. > > Happy hacking! > > > > Amirouche ~ amz3 > (Whoops, replied with the wrong account.) Oh, this is great!  I've actually been putting together a small Guix guide here: https://gitlab.com/rendaw/blog/blob/master/how_to_guix_for_those_who

Re: Services and log management/monitoring

2019-05-04 Thread rendaw
On 5/4/19 4:01 PM, Chris Marusich wrote: > rendaw <7e9wc56emja...@s.rendaw.me> writes: > >> I'm fairly sure that's not what it means, but if extends isn't an >> inheritance relationship and it's not a dependency relationship I'm not >>

Re: Services and log management/monitoring

2019-05-04 Thread rendaw
On 5/4/19 5:24 PM, Chris Marusich wrote: > I've been thinking about trying to rewrite > that section in a way that makes it easier to understand services for a > first-time reader, but I haven't yet done it. > Ah, I'm totally for that!  I thought though if my previous post wasn't over the line, s

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
age object which is "lowered" and becomes a string of the path to the directory: `/gnu/store/bqmib4vf9mr8dkqx4dqpcqrnb93giwci-dash-0.5.10.2` `(shell ...)` needs a path to an executable (the shell program), that is: `/gnu/store/bqmib4vf9mr8dkqx4dqpcqrnb93giwci-dash-0.5.10.2/bin/dash` Therefore you need the string-append or file-append expressions to add the final "/bin/dash".  See the examples from my previous email. Cheers, rendaw

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 8:19 PM, zna...@disroot.org wrote: > (shell #~#$dash) -- compiles too, but again: > > bob $ su - mom > Password: > /gnu/store/bqmib4vf9mr8dkqx4dqpcqrnb93giwci-dash-0.5.10.2: > /gnu/store/bqmib4vf9mr8dkqx4dqpcqrnb93giwci-dash-0.5.10.2: Is a directory > bob $ > Could you perhaps provide

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 8:29 PM, zna...@disroot.org wrote: > I just want to change user shell. So i know how to do it. And you have > cleared a bit for me what is formed object and what is file, and what is > file-append function. > > May 4, 2019 11:24 AM, "rendaw" <7e9wc56emja...

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 8:48 PM, zna...@disroot.org wrote: > This two equivalents work: > > (shell (file-append dash "/bin/dash")) -- this is advanced guix variant with > new file-append function, this variant does not need (use-modules (guix gexp)) > > (shell #~(string-append #$dash "/bin/dash")) -- this is g

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 12:11 PM, rendaw wrote: > On 5/4/19 12:36 AM, zna...@disroot.org wrote: >> I want to try to use G-expressions to change 'mom' user shell to dash. >> I have this error: >> >> # guix system reconfigure config-znavko.scm >> ... >> buildin

Re: guile scheme tutorial

2019-05-04 Thread rendaw
wn resources to learn Guile Scheme. > > Happy hacking! > > > > Amirouche ~ amz3 > Oh, this is great!  I've actually been putting together a small Guix guide here: https://gitlab.com/rendaw/blog/blob/master/how_to_guix_for_those_who_dont.md It has a small Guile prim

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 12:36 AM, zna...@disroot.org wrote: > I want to try to use G-expressions to change 'mom' user shell to dash. > I have this error: > > # guix system reconfigure config-znavko.scm > ... > building > /gnu/store/zhmd8fr5v86wnaf6apcz4281c008fjv5-shepherd-user-homes.scm.drv... > building /gn

Re: disk-image and partitions

2019-05-06 Thread rendaw
On 5/6/19 3:48 AM, Chris Marusich wrote: > rendaw <7e9wc56emja...@s.rendaw.me> writes: > >> I think I'd like to use disk-image but a number of things were unclear >> from the documentation: >> >> 1. What and how many partitions are created? >> >

Re: guile scheme tutorial

2019-05-06 Thread rendaw
On 5/4/19 8:02 PM, amirou...@hyper.dev wrote: > On 2019-05-04 08:08, rendaw wrote: >> On 5/3/19 9:45 PM, amirou...@hyper.dev wrote: >>> Hello! >>> >>> >> (Whoops, replied with the wrong account.) >> >> Oh, this is great!  I've actually

Re: guile scheme tutorial

2019-05-06 Thread rendaw
On 5/4/19 5:57 PM, Ludovic Courtès wrote: > Hi rendaw, > > rendaw <7e9wc56emja...@s.rendaw.me> skribis: > >> Oh, this is great!  I've actually been putting together a small Guix >> guide here: >> https://gitlab.com/rendaw/blog/blob/master/how_to_guix_fo

Re: Wrong type argument in position 1 (expecting struct): #

2019-05-09 Thread rendaw
On 5/9/19 2:55 PM, zna...@disroot.org wrote: > Hello! I try to reconfigure system with Gnome, sddm and wayland. > I also use sddm-configuration to define use wayland for greeter, but get the > error for my misconfiguration: > > # cat config.scm > ... > (services (cons* > ;(service xfce-desktop-s

Re: guile scheme tutorial

2019-05-13 Thread rendaw
On 5/9/19 1:35 AM, swedebugia wrote: > On 2019-05-08 15:15, Pierre Neidhardt wrote: >> For what it's worth, most of rendaw's comments resonate to me, from back >> when I first got started with Guix. >> >> But now, with hindsight, it's not obvious to me anymore what can be >> fixed in the manual.

Re: booting from usb

2019-05-14 Thread rendaw
On 5/15/19 3:01 AM, Perez, Luis wrote: > Hi, > > I'm trying to boot GUIX. I've copied GUIX on to my usb, but I have not been > able to boot it sucessfully. According to the instructions I need to access > the BIOS to do this. I've read that is done by pressing one of the F keys > on startup. Howeve