Using a swapfile on btrfs for hibernation

2021-08-22 Thread Brice Waegeneire
-8<---cut here---end--->8--- I wasn't sure were this documentation should go in Guix, except for the btrfs instrructions which will probably end up in the cookbook. ¹ https://wiki.archlinux.org/title/btrfs#Swap_file ² https://superuser.com/a/1613639 ³ https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation_into_swap_file_on_Btrfs ⁴https://github.com/osandov/osandov-linux/blob/master/scripts/btrfs_map_physical.c ⁵ https://btrfs.wiki.kernel.org/index.php/FAQ#Does_Btrfs_support_swap_files.3F ⁶ https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html Cheers, - Brice

Hundreds of failed build on master following git package update

2021-08-17 Thread brice
6873/log/raw Cheers, - Brice

Nginx and certbot cervices don't play well togther

2021-03-06 Thread Brice Waegeneire
t's configuration doesn't exist and we can't get a Let's Encrypt certificate from a HTTP-01 challenge without that web server running. NixOS broke that chicken and egg problem by generating a self-signed certificate first, after that starting nginx, then requesting a valid Lets' Encrypt certificate and finally reloading Nginx. That way we end up with a Nginx server using Let's Encrypt certificate with no more that a simple system reconfiguration. Note that, the initial self-signed certificate will need to be at the path were certbot will put it's own certificate. WDYT? ¹ https://bugs.gnu.org/36389 Cheers, - Brice

Re: Getting rid of the mandb profile hook?

2021-03-03 Thread Brice Waegeneire
ckage would improve quality of live. For a specific example in that case, when installing ncurses from the cli it would install it's man output too if you always want man page to be installed. ¹ https://mandoc.bsd.lv/ ² https://www.mankier.com/8/makewhatis.mandoc Cheers, - Brice

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

2020-07-04 Thread Brice Waegeneire
and is needed to help fixing #41082[2]. I will 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

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
7;wip-network-boot' at https://git.sr.ht/~bricewge/guix. [1]: https://ltsp.org/ [2]: https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt Have a good day, - Brice

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

2020-06-28 Thread Brice Waegeneire
I'll dig deeper and will come back to you if I make any progress. I would love to know when you manage to advance on that front. Have a good day, - Brice

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&#

[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 s

Kernel module configuration service

2020-05-15 Thread Brice Waegeneire
ght forward and don't extend services like 'kernel-module-loader-service-type' (which itself extend 'shepherd-root-service-type'). What are the guidelines to add a service to the essential-services? Can KMCS become an essential-service? Any other remarks/idea? [0]: https://issues.guix.info/40274#18 Have a good day, - Brice

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

2020-05-13 Thread Brice Waegeneire
- Git references are nice because they’re (roughly) content-addressed. - ‘guix lint -c archival’ archives Git references on Software Heritage; it does not archive tarballs (though SWH will do it for us eventually.) Cheers, - Brice

Routing Guix services traffic trough Tor

2020-05-12 Thread Brice Waegeneire
urls=http://bp7o7ckwlewr4slm.onion”. [0]: http://logs.guix.gnu.org/guix/2020-05-12.log#093952 [1]: https://guix.gnu.org/manual/devel/en/html_node/Proxy-Settings.html#Proxy-Settings - Brice

New commiter

2020-05-01 Thread Brice Waegeneire
h.gnu.org/users/bricewge See you around, - - Brice -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEHJvwBRoaakRSV1maqUkDoWahj64FAl6sPpAACgkQqUkDoWah j646QBAAtVmF0TiWAR8PlMa4WepCat9B1ks5/TRMPNKs1Pp6cuqUHNK/vhVrWXgf mGMCVM73GsOYLScXz4j7nvdaCP3SldnxrvpIzvzma67ehcCc46vvJEf2KVl5pI3+ pc5BTqiJcyjc1CSFj+SvzE0oM

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

2020-04-15 Thread Brice Waegeneire
s cool. I would like to find out if it's possible too. [...] HTH! Thanks, Gio' Yes it is helping, really, that was dense with information. Cheers, - Brice

Re: [GSOC 2020] Booting via network

2020-04-15 Thread Brice Waegeneire
me further auditing to meet the FSDG (Free Software Distribution Guidelines?) for inclusion into Guix. I see the rewrite has been done during a GSoC too; it's interesting that it has mostly been done in shell. It looks like a interesting project, I'll keep reading... - Brice

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 to

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 conseq

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

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

2020-04-06 Thread Brice Waegeneire
wise, currently the only 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 pr

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

2020-04-06 Thread Brice Waegeneire
. Instead of extending “etc-service-type” we would use “activation-service-type”, as “%modprobe-wrapper” is currently put in place by a simple activation service. [0]: https://issues.guix.info/issue/40422 [1]: https://issues.guix.info/issue/40274#29 - Brice

Re: Adding a %desktop-packages

2020-04-04 Thread Brice Waegeneire
%base-packages. Also I've just submitted a patch[0] to split %base-packages as we talked about on IRC a couple of weeks ago. [0]: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40423 - Brice

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 `k

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

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

2020-03-26 Thread Brice Waegeneire
onfiguration (inherit config) (extra-config (list t430-xorg-extra-config)) --8<---cut here---end--->8--- Brice.

Issues and improvement for `kernel-loadable-modules'

2020-03-26 Thread Brice Waegeneire
on (define* (load-kernel-modules-service modules) "Return a service that loads kernel MODULES." (service load-kernel-modules-service-type (load-kernel-modules-configuration (modules modules --8<---cut here---end--->8--- [0]: https://issues.guix.info/issue/37868 [1]: https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux#ddcci-bus-driver Brice.

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 y

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 package

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 ic

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

Re: Joint statement on the GNU Project

2019-10-12 Thread brice
Hello Guix, Since the shitshow seems unstoppable at this point, allow me to add my little crap to it. I have contributed (very) few patches to Guix and GNU, but mean to contribute more to Guix whatever the outcome of the drama. First I want to thoroughly thanks Ludovic Courtès, Ricardo Wurmus and