Using a swapfile on btrfs for hibernation

2021-08-22 Thread Brice Waegeneire
Hello Guix! Here is a feedback on enabling hibernation using a swapfile stored on btrfs filesystem. It wasn 't straight forward as it's not documented and I had to read the code do make it work. Note that even tho swpafile on btrfs filesystem are supported, therea are some limitations⁵: - the

Nginx and certbot cervices don't play well togther

2021-03-06 Thread Brice Waegeneire
Hello Guix, After an suggestion from Tobias to give a try at forcing HTTPS for Guix's websites on berlin, I had a go at it but it was more complex that what I was expecting. Looking deeper at nginx and certbot services it appear both services don't play that well together, requering a inital

Re: Getting rid of the mandb profile hook?

2021-03-03 Thread Brice Waegeneire
Hello Ludovic, On 2021-03-03 15:13, Ludovic Courtès wrote: I’m thinking we could get rid of the mandb hook. However, the functionality matters IMO (we need good tools so users can browse local documentation; mandb is not that good but better than no search mechanism.) Here are several

[WIP 0/6] Add kernel-module-configuration service

2020-07-04 Thread Brice Waegeneire
ll try to go back to it after the GSOC network boot project. [1]: https://issues.guix.info/40274 [2]: https://issues.guix.info/41082 - Brice Brice Waegeneire (6): services: simulated-wifi: Use 'kernel-module-loader'. services: Add 'kernel-profile-service-type'. services: Add 'modprobe-service-ty

Re: [GSOC 2020] network-boot-service

2020-07-02 Thread Brice Waegeneire
Hello Vagrant, On 2020-07-02 16:34, Vagrant Cascadian wrote: On 2020-07-02, Brice Waegeneire wrote: To support the widest hardware and boot options possible I went with iPXE as a chainloader. Meaning that any machine doing a PXE boot (or with builtin iPXE with restricted feature set) will load

[GSOC 2020] network-boot-service

2020-07-02 Thread Brice Waegeneire
Hello Danny, Gábor, Sorry for the very late update on the status of this GSOC about network booting. At the moment I have working network boot service which I'm using to boot various baremetal machines, I'm currently working on adding NFS support to the initrd. To support the widest hardware

Re: [PATCH] doc: cookbook: Update entry about getting substitutes through Tor.

2020-06-28 Thread Brice Waegeneire
Hello André, On 2020-06-18 14:06, André Batista wrote: [...] qua 17 jun 2020 às 08:37:59 (1592393879), br...@waegenei.re enviou: I would like to keep the warnings at the beginning of the section to be sure that readers don't miss it when skimming trough it. Any rewording of that part to make

Re: [bug#41694] [PATCH] doc: cookbook: Add entry about getting substitutes through Tor.

2020-06-17 Thread Brice Waegeneire
Hello André, Thank you for the patch and your feedback! On 2020-06-17 02:19, André Batista wrote: Hello Brice, I think it would be useful to warn users that when pulling there is a direct connection to guix git repos, so to route it through Tor, one needs to use torsocks. It wont make the

Re: [bug#41694] [PATCH] doc: cookbook: Add entry about getting substitutes through Tor.

2020-06-04 Thread Brice Waegeneire
Hello, On 2020-06-04 12:29, Ludovic Courtès wrote: Hi, Brice Waegeneire skribis: * doc/guix-cookbook.texi (Getting substitutes from Tor): New section. Yay! +@node Getting substitutes from Tor +@section Getting substitutes from Tor + +@quotation Warning +@emph{Not all} Guix daemon's

[PATCH] doc: cookbook: Add entry about getting substitutes through Tor.

2020-06-03 Thread Brice Waegeneire
-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -14,6 +14,7 @@ Copyright @copyright{} 2019 Pierre Neidhardt@* Copyright @copyright{} 2020 Oleg Pykhalov@* Copyright @copyright{} 2020 Matthew Brooks@* Copyright @copyright{} 2020 Marcin Karpezo@* +Copyright @copyright{} 2020 Brice Waegeneire

Re: Routing Guix services traffic trough Tor

2020-05-18 Thread Brice Waegeneire
On 2020-05-17 22:33, Ludovic Courtès wrote: Hi Brice, Brice Waegeneire skribis: Today I played a bit with Tor and Guix, trying to fetch substitutes trough the Tor network as blaze_cornbread asked on IRC[0] how to do this. I managed to get it working but in the end I don't think we should

Kernel module configuration service

2020-05-15 Thread Brice Waegeneire
Hello Guix, I'm working on the future 'kernel-module-configuration-service-type'[0] (KMCS) and I need some guidance. This service will be a one stop shop for all kernel module related configuration by doing the following 4 things: 1. Generate a config directory for modrope to use 2. Load

Re: best practise between git-fetch vs url-fetch?

2020-05-13 Thread Brice Waegeneire
Hello, On 2020-05-13 01:08, zimoun wrote: Based on these 2 messages [1,2], what is the consensus between git-fetch and url-fetch? I was hoping that some one bring this up, thanks. Pushing to SWH when linting appears to me winning the pros/cons. Even if SWH should eventually fetch

Routing Guix services traffic trough Tor

2020-05-12 Thread Brice Waegeneire
Hello Guix, Today I played a bit with Tor and Guix, trying to fetch substitutes trough the Tor network as blaze_cornbread asked on IRC[0] how to do this. I managed to get it working but in the end I don't think we should encourage people doing it this way, that's why I haven't submitted a

New commiter

2020-05-01 Thread Brice Waegeneire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello Guix, You may have seen me around in the mailing lists or on IRC as bricewge. For some months now I have been contributing to Guix on a regular basis. And it seems I have been helpful in some ways since yesterday I was granted commit

Re: iPXE network booting (was Re: [GSOC 2020] Booting via network)

2020-04-15 Thread Brice Waegeneire
Hello Giovanni, On 2020-04-10 13:44, Giovanni Biscuolo wrote: [...] I never used iPXE but... please consider using iPXE (if possible) for Guix network booting and consider that this feature is a prerequisite for seamless remote desktop with Guix (using x2go or xrdp like the new LTSP is doing

Re: [GSOC 2020] Booting via network

2020-04-15 Thread Brice Waegeneire
Hello Vagrant, On 2020-03-30 23:16, Vagrant Cascadian wrote: I was just thinking Guix needed network boot support yesterday! Happy to hear you're looking into it... I've been the LTSP maintainer in Debian for almost 15 years, so have a good amount of experience with network booting. LTSP was

Re: [GSOC 2020] Booting via network

2020-04-15 Thread Brice Waegeneire
Hello Vincent, On 2020-03-30 22:10, Vincent Legoll wrote: Hello, that's a great project, I hope to be able to lend a hand, here and there... Looks like you already started by packaging iPXE. :) Thanks! - Brice

Re: 01/02: services: Allow modprobe to use "/etc/modprobe.d".

2020-04-08 Thread Brice Waegeneire
Hello, On 2020-04-07 09:35, Ludovic Courtès wrote: Brice Waegeneire skribis: On 2020-04-05 21:15, Ludovic Courtès wrote: guix-comm...@gnu.org skribis: Looking at this, I was wondering if it would be possible to not use /etc/modprobe.d and instead have a way to tell the modprobe wrapper

Re: 01/02: services: Allow modprobe to use "/etc/modprobe.d".

2020-04-08 Thread Brice Waegeneire
Hello Bengt, On 2020-04-06 09:29, Bengt Richter wrote: On +2020-04-06 07:54:47 +, Brice Waegeneire wrote: What's the issue with using /etc/modrpobe.d? I would think the fundamental issue is pure vs impure dependencies: i.e., /gnu/... vs /var/guix vs /elsewhere/... IIUC, the consequence

Re: [Help] Adding file-system utils packages to system profile

2020-04-07 Thread Brice Waegeneire
On 2020-04-06 17:07, Brice Waegeneire wrote: I tried implementing this in the attached patch but I'm currently stuck and need some help. I've probably overlooked something basic but I can;t put a finger on it... Guix compile successfully with the patch and testing “file-system-utils” in “guix

[Help] Adding file-system utils packages to system profile

2020-04-06 Thread Brice Waegeneire
change is the additions of the “utils?” filed in the “file-system” record. - BriceFrom 57a6dc8c6ba2fb2b5ce97bffa26d61a430d2c16b Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Mon, 6 Apr 2020 18:00:11 +0200 Subject: [PATCH] services: Add file-system utils to profile. --- gnu/services

Re: 01/02: services: Allow modprobe to use "/etc/modprobe.d".

2020-04-06 Thread Brice Waegeneire
Hello Ludo', On 2020-04-05 21:15, Ludovic Courtès wrote: guix-comm...@gnu.org skribis: #~(begin (setenv "LINUX_MODULE_DIRECTORY" "/run/booted-system/kernel/lib/modules") + ;; FIXME: Remove this

Re: Adding a %desktop-packages

2020-04-04 Thread Brice Waegeneire
Hello John, On 2020-04-04 00:22, John Soo wrote: I raised the idea of providing smaller lists of packages that might go well together instead of one large %desktop-packages. One reason to do this, for instance, might be to not make someone who wants to use btrfs always import the ext4 packages.

Re: Issues and improvement for `kernel-loadable-modules'

2020-03-26 Thread Brice Waegeneire
Hello Danny, Sorry for the empty email; cancel and send buttons were too close for me... On 2020-03-26 15:13, Danny Milosavljevic wrote: Hi Brice, On Thu, 26 Mar 2020 14:34:03 + Brice Waegeneire wrote: First I was expecting the packages in `kernel-loadable-modules' to use the `kernel

Re: Issues and improvement for `kernel-loadable-modules'

2020-03-26 Thread Brice Waegeneire
On 2020-03-26 15:13, Danny Milosavljevic wrote: Hi Brice, On Thu, 26 Mar 2020 14:34:03 + Brice Waegeneire wrote: First I was expecting the packages in `kernel-loadable-modules' to use the `kernel' field as their kernel input or to have a simple procedure to do so. Otherwise you get

Enhancing `modify-services' to support name in addition to type

2020-03-26 Thread Brice Waegeneire
Hello, I was thinking of improving `modify-services' by adding the ability to specify a service to modify based on it's name and not just it's type. This would allow us to modify singleton services like the ones returned by `simple-service'. I'm not sure if that's a good idea, that's why I

Issues and improvement for `kernel-loadable-modules'

2020-03-26 Thread Brice Waegeneire
Hello Guix, Thanks to Danny's work in[0] we have, since a few days, a way for packages to provide Linux modules in the system profile. I have been waiting for such a feature since I packaged `ddcci-driver-linux', which was kind of useless without it. Using the new field

Re: native-search-paths and shepherd services (help wanted)

2020-02-08 Thread Brice Waegeneire
On 2020-02-08 19:10, Jonathan Frederickson wrote: I'm still not quite sure I have a good understanding of when 'native-search-paths' applies and when it doesn't, but... at least setting the env var directly seems to work in this case. I just learned about native-search-paths when looking into

Re: native-search-paths and shepherd services (help wanted)

2020-02-08 Thread Brice Waegeneire
On 2020-02-08 09:06, Jonathan Frederickson wrote: Hi - I'm working on a Guix service for Minetest, and I'm running into some issues. The Guix package for Minetest is divided into two variables: "minetest" and "minetest-data", with only the former being an installable package. The Minetest

Re: Documenting Yubikey setup

2020-01-23 Thread Brice Waegeneire
On 2020-01-23 14:22, Martin Becze wrote: Did you write something for the cookbook? The only thing that I know to put in the cookbook is the below snippet. I think it should be expanded a bit. But I haven't had a chance to futher explore using Yubikey. I still have some problems using it with

Re: GRUB and installer invisible on serial console

2019-12-21 Thread Brice Waegeneire
On 2019-12-21 18:31, Ricardo Wurmus wrote: Hi Guix, I just wanted to install Guix System on a server where I currently only have remote access via serial console — and which happens to have a Guix USB stick stuck in its USB port. I can see the system’s UEFI output and see that it boots from