Setting up multiple NICs

2023-11-23 Thread Lars Rustand
Hello! I'm trying to set up Guix on my "router", but I'm not able to get my networking setup to work. What I need is one upstream NIC, and one downstream NIC which is split into multiple VLANs. I've tried to different approaches: 1. Have everything inside of one `static-networking` form. 2. Have

Re: Setting up multiple NICs

2023-11-28 Thread Lars Rustand
On 23/11/24 06:08AM, Oleg Pykhalov wrote: > Hello, > > Could you show the configuration, please? Sure, this is what I have at the moment: (service static-networking-service-type (list (static-networking (links (list (network-link

Re: Setting up multiple NICs

2023-11-29 Thread Lars Rustand
On 23/11/29 10:39AM, Oleg Pykhalov wrote: > I think this "management@enp4s0f1" syntax is not what is expected by the > configuration. I think this is the normal naming convention used for VLAN interfaces, at least in normal distros. It is also what the interface gets named in the output of `ip lin

Offlineimap is not able to run as a shepherd service

2023-12-07 Thread Lars Rustand
Hello, I'm trying to run offlineimap as a shepherd service, but it fails in a weird way. I'm able to run offlineimap just fine when I start from the commandline, but inside the service it fails with this error: -8<---cut here---start->8--- 2023-12-07 10:31:13

Keyboard layout options not working

2023-12-07 Thread Lars Rustand
Hello, I'm trying to set the keyboard-layout options in my system config. I have set the following: -8<---cut here---start->8--- (keyboard-layout (keyboard-layout "us,no" #:options '("grp:switch"))) -8<---cut here---end--->8--

Re: Keyboard layout options not working

2023-12-07 Thread Lars Rustand
Hilton Chain writes: > In (gnu system keyboard), keyboard-layout is defined as: > > (keyboard-layout name (variant) (#:model) (#:options)) > > > So the following should be used instead: > > (keyboard-layout "us" "no" #:options '("grp:switch")) I tried the above, but I get this following errror:

Re: Keyboard layout options not working

2023-12-07 Thread Lars Rustand
Lars Rustand writes: >> (keyboard-layout "us" "no" #:options '("grp:switch")) > > I tried the above, but I get this following errror: > > error: (keyboard-layout "us" "no" #:options (quote ("grp:switch"))):

Re: Keyboard layout options not working

2023-12-07 Thread Lars Rustand
Hilton Chain writes: > The keyboard-layout field of operating-system is solely for console > use (used by GRUB, and later loaded via loadkeys when booting). So > you'll have to pass a record to the keyboard-layout > field of your xorg-configuration. Thanks, this worked! I was not aware that t

Re: Setting up multiple NICs

2023-12-07 Thread Lars Rustand
Lars Rustand writes: > Sure, this is what I have at the moment: > > (service static-networking-service-type > (list (static-networking > (links > (list (network-link >

Re: Offlineimap is not able to run as a shepherd service

2023-12-08 Thread Lars Rustand
I tried making a shepherd service for a different mail service also. This other one also runs fine manually but fails with some networking related error when run as a shepherd service. Apparently there is something more that needs to be done in order for a shepherd service to succesfully use netw

Include home environment in image

2023-12-27 Thread Lars Rustand
Hi, how can I include a home environment in an image or vm created with `guix system image` or `guix system vm`?

Help packaging network-manager-sstp and sstp-client

2024-01-19 Thread Lars Rustand
Hello, I'm trying to package network-manager-sstp (and its dependency sstp-client), but I'm running into a weird error. I'm sure it is a very easy problem to solve for someone with a little more experience with the build-system. >From what I can tell these packages should be fairly standard auto

Re: Include home environment in image

2024-01-19 Thread Lars Rustand
Kristoffer Ström writes: > I would love to know this as well. I've not found any examples in the > wild that are not tied into other distributions (RDE). Thanks for pointing me in the right direction! After doing some digging in RDE sources I found the `guix-home-service-type` which does exact

Re: Include home environment in image

2024-01-19 Thread Lars Rustand
Richard writes: > +1 for upstreaming if possible. Being able to associate home > environments with a system declaration would be very helpful. I remember > someone asking about guix deploy and home environments, so it seems to > be a popular feature request. This reminds me of an idea I've had

Re: Help packaging network-manager-sstp and sstp-client

2024-01-21 Thread Lars Rustand
I can see that it is at least set correctly for network-manager-sstp, which uses an almost identical package definition. Lars Rustand writes: > And network-manager-sstp fails with: > > checking for find... yes > ./configure: line 13451: syntax error near unexpected token `fcntl.h&

Re: Help packaging network-manager-sstp and sstp-client

2024-01-24 Thread Lars Rustand
Efraim Flashner writes: > Looking at the source code¹ it looks like the included autoconf script > tries to execute configure. This doesn't work because between the > bootstrap phase and the configure phase we have a phase to adjust the > locations of /bin/sh and other binaries. I'd suggest o