Re: Come speak at the Guix Social meetup
June 4, 2024 at 7:05 AM, "Nils Landt" wrote: > > > > > Steve George hat am 04.06.2024 10:19 CEST geschrieben: > > > > - Something mad, interesting or curious! > > > > I built a home service for systemd. It is currently unpublished, but I could > demo it, and publish the WIP version. > > Not sure if there's enough interest in this to warrant a talk, systemd is not > packaged for Guix (and quite possibly never will be). This would only be of > interest for users of Guix Home on a foreign distro who, for some reason or > another, want to use systemd units instead of shepherd / mcron. > > Nils > Yes Please! This sounds like an awesome idea! Guix home is something I have not really figured out yet
Re: Demystifying SSH configuration for remote software forges on Guix System
May 10, 2024 at 3:57 AM, "Ashvith Shetty" wrote: > > I would like to understand the process for configuring SSH for software > forges, like Forgejo, GitLab or GitHub. So far, what I've noticed is that by > itself, SSH does not work properly, and that after opening a new terminal > session (window or tab, it does not matter), I am forced to repeat the > following step every time, before any pull or push: > > ```console > > $ eval $(ssh-agent -s) > > $ ssh-add > > ``` I fun sway, and I just put somelike like the above in my .profile; When I log in, it auto prompts me for my ssh password. > Before I continue any further, I wanted to let you folks know that presently, > I am on XFCE4. I don't remember clearly if GNOME Desktop did some magic > behind the back, or if I had to repeat similar steps over there, because I've > not touched Git for some time. > > I've tried adding GNOME Keyring as a service in the latest system > configuration (of course, with XFCE4), assuming that this missing service was > what I should have probably added, but that does not seem to be the case. > What am I missing over here? > And finally, I've come across `home-openssh-service-type` - which I've yet to > try, but reading from the docs, am I supposed to put my private and public > keys in the repository? How do I go about this? Isn't that a security risk? > Thanks, > Ashvith Also this kind of question is probably better for help-guix@gnu.org No worries. This conversation is now on help-guix@gnu.org. Thanks, Joshua
Re: Issue when booting Guix SD on laptop
April 4, 2024 at 11:05 PM, "Rodrigo Morales" wrote: > > I believe I have successfully installed Guix SD in a laptop. I believe so > because =guix system init /mnt/config.scm /mnt= ended with =guix system: > bootloader successfully installed on /boot/efi=. The problem is that, at > startup, my laptop gets stuck in this screen. Screenshot: > http://web.archive.org/web/20240405022623/http://0x0.st/XioL.png (screen > readers users, see [1] below.) There are some other messages that are shown > above (I think they might be relevant): > http://web.archive.org/web/20240405024115/http://0x0.st/Xiov.png (screen > reader users, see [2] below Thanks for the detailed message! What kind of laptop do you have? > > I am going to explain how I installed Guix SD on this laptop and I'm going to > provide as much details as possible because that might help others spot where > I could have made a mistake. > > I booted from the USB stick where I copied > =guix-system-install-1.4.0.x86_64-linux.iso=. In the installation image, > after selecting the language and the territory for the language, I chose > "Install using the shell based process." and the following message was shown > (http://web.archive.org/web/20240405023310/http://0x0.st/XioW.png) (screen > readers users, see [3] below). I think it refers to the bluetooth adapter, > the wi-fi adapter and the graphic card, so I don't it is the root cause for > my laptop not starting Guix properly. > > The following code block lists all the commands that I executed during the > installation. > > #+BEGIN_SRC sh > > $ wipefs -a /dev/nvme0n1 > > # I used cfdisk to create the partitions. You can see the partitions > > # in the output of the lsblk that was executed afterwards. > > $ cfdisk /dev/nvme0n1 > > $ mkfs.fat -F 32 /dev/nvme0n1p1 > > $ mkfs.ext4 /dev/nvme0n1p2 > > $ lsblk -o name,type,fstype,size /dev/nvme0n1 > > NAME TYPE FSTYPE SIZE > > nvme0n1 disk 953.9G > > ├─nvme0n1p1 part vfat 1G > > └─nvme0n1p2 part ext4 952.9G > > $ mount /dev/nvme0n1p2 /mnt > > $ mkdir -p /mnt/boot/efi > > $ mount /dev/nvme0n1p1 /mnt/boot/efi > > $ herd start cow-store /mnt > > $ vi /mnt/config.scm > > $ guix system init /mnt/config.scm /mnt > > #+END_SRC > > I wrote a minimal system configuration to avoid as much packages as possible > and thus make it easier to find the root cause of the problem. The > configuration file can be found here > http://web.archive.org/web/20240405023552/http://0x0.st/Xiot. > > You can find the entire output of that command =guix system init > /mnt/config.scm /mnt= in > http://web.archive.org/web/20240405023454/http://0x0.st/Xio4.txt > > [1] Transcript of the image > > #+BEGIN_SRC text > > /dev/nvme0n1p2: clean, 57135/62447616 files, 4508105/249788753 blocks > > loading '/gnu/store/kxv4n6875qxs3n474j4inykhia0cc2kc-system/boot'... > > making '/gnu/store/kxv4n6875qxs3n474j4inykhia0cc2kc-system' the current > system... > > setting up setuid programs in '/run/setuid-programs'... > > populating /etc from /gnu/store/nhzrdb64v2z9rzmzi34d1r8sq1xw7cja-etc... > > [ 2.489648] udevd[262]: no sender credentials received, message ignored > > [ 2.705673] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705711] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705730] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705748] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705766] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705784] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705802] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705820] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705837] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705855] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705872] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705891] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705909] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705926] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705944] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705961] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705979] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.705997] :04:00.0: Missing Free firmware (non-Free firmwaare loading > is disabled) > > [ 2.706014] :04:00.0: Missing Free firmware (non-Free firmwaare
Re: Is there a post or blog on how to convert from a distro to guix losslessly
October 3, 2023 11:51 PM, "Josh Marshall" wrote: > I have a base minimal system of Ubuntu with Guix and Nix tacked on. I > would like to move everything over to Guix with Nix tacked on. Is > there a guide on how to do this? Well, the easiest (and possibly dangerous way) to do this, would be to create a config.scm file, then run guix system init /etc/config.scm When you reboot, you would be running guix system.
Re: Gajim: Sorry, that should not have happened
January 7, 2023 12:22 PM, "jgart" wrote: > Hi, > > I get this gajim error on Guix System:. I had a similar issue with gajim the last time I tried to use it. I just use dino now. It's much simpler and more stable. Joshua > > Here's a screenshot of the error (expires in one week): > > https://up.nixnet.services/6d3cbuxb.png > > paste of the error > > ## Versions: > - OS: Linux 6.0.12 > - GTK Version: 3.24.30 > - PyGObject Version: 3.40.1 > - GLib Version : 2.70.2 > - python-nbxmpp Version: 3.1.0 > - Gajim Version: 1.4.6 > > ## Traceback > ``` > Traceback (most recent call last): > File > "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/mo > ules/bookmarks.py", line 265, in _join_with_timeout > self.auto_join_bookmarks(bookmarks) > File > "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/mo > ules/bookmarks.py", line 271, in auto_join_bookmarks > self._con.get_module('MUC').join(bookmark.jid) > File > "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/mo > ules/muc.py", line 272, in join > self._set_muc_state(muc_data.jid, MUCJoinedState.JOINING) > File > "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/mo > ules/muc.py", line 206, in _set_muc_state > contact.notify('state-changed') > File > "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/common/he > pers.py", line 1268, in notify > func(self, signal_name, *args, **kwargs) > File > "/gnu/store/ss8z4dgh3zpylai67yc99dngd87bj0kf-gajim-1.4.6/lib/python3.9/site-packages/gajim/gtk/contr > ls/groupchat.py", line 238, in _on_muc_state_changed > if self.contact.is_joining: > AttributeError: 'BareContact' object has no attribute 'is_joining' > > ``` > ## Steps to reproduce the problem > ... > > (ins)bash-5.1$ guix home describe > Generation 242 Jan 06 2023 17:44:09 (current) > file name: /var/guix/profiles/per-user/jgart/guix-home-242-link > canonical file name: /gnu/store/di22nbf4zi5lvvs74xm1byslygb1183h-home > channels: > guix: > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 6f8a03fad32261b6d4b38991f6757fb0bcc4bd86 > rde: > repository URL: https://git.sr.ht/~abcdw/rde > branch: master > commit: d7e8950a1eb0e189455991fee2168577c411642d > druix: > repository URL: https://github.com/drewc/druix.git > branch: main > commit: 451b637036a01831a23deb4e14028f357271d1de > nonguix: > repository URL: https://gitlab.com/nonguix/nonguix > branch: master > commit: 2e604d2296e8987058d7c32e5592f56d14e9f8dd > emacs: > repository URL: https://github.com/babariviere/guix-emacs > branch: master > commit: 69e8b906cd9d0c29149bae35754052a81a8de509 > guixrus: > repository URL: https://git.sr.ht/~whereiseveryone/guixrus > branch: master > commit: 5a4f5034078c1bdbab86d60d116c0eb8fb7247e0 > configuration file: > /gnu/store/cdyiw8v9k2fdlbh431wmbd4334gzqnnv-configuration.scm > (ins)bash-5.1$ guix system describe > Generation 28 Dec 25 2022 11:50:24 (current) > file name: /var/guix/profiles/system-28-link > canonical file name: /gnu/store/kh90ilr3amanzi98fzdkkcb1nmdgmixa-system > label: GNU with Linux 6.0.12 > bootloader: grub-efi > root device: UUID: ea59ba4a-8f90-45f0-a799-fc57704547da > kernel: /gnu/store/m7yf6zvd932a42h1962xd5wd7l4s6r9j-linux-6.0.12/bzImage > channels: > guix: > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 91bcc26b1c97d440c203ea9e258ca56a89377bc8 > nonguix: > repository URL: https://gitlab.com/nonguix/nonguix > branch: master > commit: e662a42388490a2736276c2051aaf5cd3693a1cc > guixrus: > repository URL: https://git.sr.ht/~whereiseveryone/guixrus > branch: master > commit: b72dbabc2c40122609fd92b4c52bdf8ae9e16426 > configuration file: > /gnu/store/k1ybmr2h37hn26awm6655j8473gajabw-configuration.scm > > WDYT
Re: Problems running Guix System initrd on an i.MX6 ARM board
December 12, 2022 10:42 PM, "Maxim Cournoyer" wrote: > Hi Guix! > > I've been trying for some time to run Guix System on an ARM board (a > TS-7970 with an i.MX6 Cortex A9 CPU). I wanted to cross-compile the > image for speed and efficiency, and stumbled upon some problems on the > way, such as https://issues.guix.gnu.org/44924, fixed on core-updates. Please bear in mind that what you are trying is a little beyond my paygrade. Is this a 32 bit or 64 bit processor? My gut feeling is that running guix system on a 32 bit arm board is going to be very painful. I think I recall chatting on guix-devel and someone saying that 1GB or 2GB RAM memory is the absolute minimum. So you will run into low memory issues too. :( I personally have a pinephone, and I haven't tried running guix system on it. I assume other non-free distros will work better. And I need the non-free drivers for SMS and calling... :( > > Then it took me some time to figure out that Guile 3.0.7 was segfaulting > when running the initrd's init script, which would cause the following > kernel panic and backtrace: > > --8<---cut here---start->8--- > [ 5.913371] ALSA device list: > [ 5.913374] #0: On-board Codec > [ 5.913376] #1: imx-hdmi-soc > [ 5.921483] sdhci-esdhc-imx 219.usdhc: card claims to support voltages > below defined range > [ 5.938332] mmc0: new SDIO card at address 0001 > [ 5.987225] mmc2: new DDR MMC card at address 0001 > [ 5.998025] mmcblk2: mmc2:0001 MMC04G 3.60 GiB > [ 6.009623] mmcblk2boot0: mmc2:0001 MMC04G partition 1 16.0 MiB > [ 6.020181] mmcblk2boot1: mmc2:0001 MMC04G partition 2 16.0 MiB > [ 6.031772] mmcblk2rpmb: mmc2:0001 MMC04G partition 3 128 KiB > [ 6.957080] Freeing unused kernel memory: 1024K (80e0 - 80f0) > [ 6.967865] Kernel panic - not syncing: Attempted to kill init! > exitcode=0x8b00 > [ 6.967865] > [ 6.977015] CPU3: stopping > [ 6.979732] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.11-tsimx #1 > [ 6.986174] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) > [ 6.992704] Backtrace: > [ 6.995189] [<80111d48>] (dump_backtrace) from [<80111f38>] > (show_stack+0x18/0x1c) > [ 7.002765] r7: r6:2193 r5: r4:80f2fecc > [ 7.008437] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c) > [ 7.015669] [<8054d59c>] (dump_stack) from [<8010d8dc>] > (handle_IPI+0xe0/0x178) > [ 7.022981] r7: r6:d80b1f18 r5:0003 r4:80e7f034 > [ 7.028648] [<8010d7fc>] (handle_IPI) from [<801014d8>] > (gic_handle_irq+0x70/0x78) > [ 7.036222] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80b1f18 > [ 7.041895] [<80101468>] (gic_handle_irq) from [<80a0a34c>] > (__irq_svc+0x6c/0xa8) > [ 7.049380] Exception stack(0xd80b1f18 to 0xd80b1f60) > [ 7.054434] 1f00: 0001 > [ 7.062617] 1f20: 59eaf000 dad2fec0 9fdcb41d 9f4ecbfd dad2f1a8 > 0001 > [ 7.070800] 1f40: 0001 d80b1f9c d80b1f68 d80b1f68 80826350 80826374 > 6113 > [ 7.078981] r7:d80b1f4c r6: r5:6113 r4:80826374 > [ 7.084651] [<80826284>] (cpuidle_enter_state) from [<80826488>] > (cpuidle_enter+0x1c/0x20) > [ 7.092921] r10:d80b1fc0 r9:80e801a0 r8:80f030f4 r7:d80b r6:0003 > r5:80f08cd4 > [ 7.100752] r4:dad2f1a8 > [ 7.103301] [<8082646c>] (cpuidle_enter) from [<80165ccc>] > (call_cpuidle+0x3c/0x40) > [ 7.110966] [<80165c90>] (call_cpuidle) from [<80165f48>] > (cpu_startup_entry+0x188/0x1a8) > [ 7.119149] [<80165dc0>] (cpu_startup_entry) from [<8010d5b8>] > (secondary_start_kernel+0x134/0x164) > [ 7.128196] r7:80f8d320 r4:80f14490 > [ 7.131779] [<8010d484>] (secondary_start_kernel) from [<1010156c>] > (0x1010156c) > [ 7.139178] r7:80f8d320 r6:10c03c7d r5:0051 r4:6809806a > [ 7.144839] CPU1: stopping > [ 7.147554] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.11-tsimx #1 > [ 7.153996] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) > [ 7.160524] Backtrace: > [ 7.162999] [<80111d48>] (dump_backtrace) from [<80111f38>] > (show_stack+0x18/0x1c) > [ 7.170573] r7: r6:2193 r5: r4:80f2fecc > [ 7.176242] [<80111f20>] (show_stack) from [<8054d61c>] (dump_stack+0x80/0x9c) > [ 7.183471] [<8054d59c>] (dump_stack) from [<8010d8dc>] > (handle_IPI+0xe0/0x178) > [ 7.190783] r7: r6:d80adf18 r5:0001 r4:80e7f034 > [ 7.196449] [<8010d7fc>] (handle_IPI) from [<801014d8>] > (gic_handle_irq+0x70/0x78) > [ 7.204022] r7:f4a01100 r6:80f0358c r5:f4a00100 r4:d80adf18 > [ 7.209689] [<80101468>] (gic_handle_irq) from [<80a0a34c>] > (__irq_svc+0x6c/0xa8) > [ 7.217173] Exception stack(0xd80adf18 to 0xd80adf60) > [ 7.27] df00: 0001 > [ 7.230410] df20: 59e93000 dad13ec0 9fdcb2cf 9f4ecbfd dad131a8 > 0001 > [ 7.238592] df40: 0001 d80adf9c d80adf68 d80adf68 80826350 80826374 > 6013 > [ 7.246773] r7:d80adf4c r6: r5:6013 r4:80826374 > [ 7.252439] [<80826284>] (cpuidle_enter_state) from [<80826488>] > (cpuidle_enter+0x1c/0x20) > [
Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e
November 16, 2022 6:15 PM, "Mekeor Melire" wrote: > Hello Guix, > > you might want to import a mailing-list-archive into mu4e. E.g. because > debbugs.el is slow, you might want to import the archives of the > guix-patches mailing list. This is how to do so. Hey thanks for sharing! How about we make this guide a bit more permanent? Would you mind writing this up and including it in the guix cookbook? Once you submit the patch, please CC me. I'll review it for you. Thanks again! Joshua > > First, download the archives as in the "mbox" format -- the only format > that Mailman offers: > > --8<---cut here---start->8--- > cd ~/some/where > for y in {2017..2022}; do > for m in {01..12}; do > curl --fail "https://lists.gnu.org/archive/mbox/guix-patches/$y-$m; > "$y-$m" > || rm "$y-$m"; > done; > done > --8<---cut here---end--->8--- > > Now, download and run a perl-tool named "mb2md" to convert the mboxes > into maildirs: > > --8<---cut here---start->8--- > mkdir tool maildir > curl http://batleth.sapienti-sat.org/projects/mb2md/mb2md-3.20.pl.gz \ > --output tool/mb2md.pl.gz > gzip -d tool/mb2md.pl.gz > chmod 755 tool/mb2md.pl > guix shell perl perl-datetime perl-timedate > for f in $(realpath ./mbox)/*; do > perl tool/mb2md.pl -s "$f" -d $(realpath mailbox); > done > exit > --8<---cut here---end--->8--- > > Next, you might want to mark all mails in that maildir as "read": > > --8<---cut here---start->8--- > guix shell mblaze > mlist -s ./mailbox | mflag -S > exit > --8<---cut here---end--->8--- > > Finally, move that maildir to its destination: > > --8<---cut here---start->8--- > mv maildir ~/path/to/maildirs/guix-patches > --8<---cut here---end--->8--- > > Enjoy!
Re: Auto-Login to a Specific TTY
November 14, 2022 11:56 PM, "Raghav Gururajan" wrote: > Joshua, > >> This has been broken for me for at least a year. :( > > I see. > >> I've since moved to seatd, which apparently doesn't support autologin. >> So for now, I am just not worrying about autologin to tty. :) > > Are you using seatd as system service? > Yup. no elogind here. :) I think pkill9 help me set it up: https://notabug.org/jbranso/guix-config/src/master/bare-bones-sway.scm > Regards, > RG.
Re: mbsync with XOAUTH2 SASL mechanism
November 14, 2022 6:09 PM, "Tobias Geerinckx-Rice" wrote: > Joshua Branson 写道: > >> really really lazy (insecure) way via ~/.authinfo. > > I'll keep this tangent short: > > ~ λ file .authinfo.gpg > .authinfo.gpg: data > > (There is no step 2.) hahaha! what up friend? My problem with that method (and yes I was once stupid enough to pull this off), was that I had created such a file with my gpg key, and then lost that key. All my passwords gone. :( Sad day. I'll tell you what, I'll go ahead and try to use a .authinfo.gpg again and try password based encryption. Can't hurt as long as I remember the password somewhere. Joshua > > Kind regards, > > T G-R
Re: A Few Irc Logs
October 28, 2022 6:09 PM, "jgart" wrote: > Does anyone know of any program that generates tags for irc logs? > > Kind of like afew but for massive irc logs not unlike logs.guix.gnu.org > > * https://github.com/afewmail/afew You might get better answers in the help-guix list, which I am CC-ing now. You might have some good luck asking this in #guix too. :)
Re: Dual booting
July 28, 2022 10:04 AM, "Paul Jewell via" wrote: > Good afternoon, > > Could anyone please share a working configuration for dual booting windows > and guix? I have to use > windows for work, but use Linux for everything else. I want to put guix on my > work laptop so I can > stick with Linux when travelling (I am self employed, so there are no IT > restrictions on my > system). I have the necessary skills to put another Linux distribution on, > but I want to use my > spare time in the evenings when travelling to work on guix. Looking at the > bootloader information > in the documentation, it seems that chainloader is not available as an option. > > Many thanks! I wish I could help...but I've got no idea. :(
Re: Reuse package output for new package
September 13, 2022 12:28 AM, "phodina via" wrote: > Hi, > > is there a way to create a new package by reusing the output of the original > derivation and just > add files to the new package into the new output? > > The usecase is PhotoGimp [1] which is set of files which are added to an > already built gimp > package. > Huh, I've never heard of this. But that's an awesome use case! > There standard way is to inherit the package and add these files but that > will result in rebuilt, > right? I believe that it would, but I'm not the genius guix hacker that *insert the name of a genius guix hacker here*. > Alternative idea is to use copy-build-system and copy the already created > package files into the > output. Then just add additional files. > > However, there's also a draw back if the original package contains hardcoded > variable. But this > would be only problem if I specify something in the #:phases, correct? > > The main idea here is to save the computing resources on packages that take > long time and their > behviour can be changed by plugins/config files etc. > > Of course the simplest way to use [1] it is to unpack the content of the home > dir but IMHO that's > not the correct way how to package this program. > > [1] https://github.com/Diolinux/PhotoGIMP > > > Petr I say give one of your methods a try. Post some code back here when you run into trouble. :) Joshua
Re: EDOPro can't load libpthread.so.0
September 1, 2022 6:59 PM, "Mario Calcagno" wrote: > I'm trying to lauch EDOPro, a free/libre yu-gi-oh simulator, but every time > it answer with a "File > or directory not found" > even if the file is in the same directory I'm in. > Using libtree on the file it says that it can't find "libpthread.so.0" and I > don't know how to > solve the problem. > > PS. I tried to launch EDOPro with ./EDOPro . Just replying, so that you get a reply. :) I've never heard of this program... how did you install it? Joshua
Re: How can I step through this code?
October 9, 2022 12:30 PM, "jgart" wrote: > On Sun, 09 Oct 2022 00:14:23 + jbra...@dismail.de wrote: > >> A debugger stepping through the code would have been awesome! > > Yup it would have! You're right! > >> Right now I am super in love with Guix. > > Me too, it's more like a passionate love hate relationship for me tbh. I > need couples GNUtherapy. > >> My main squeeze is working >> on our existing opensmtpd-service and letting users configure it with >> proper scheme records. I don't know if I want to play with common lisp. > > Ya, it's a rabbit hole although I recommend atleast once, taking a stack > stroll in the caddy just so you know what's up ;() ahaha. I guess there is an OS written in common lisp...
Re: Guix REPL - To infinity and beyond
October 8, 2022 11:00 AM, "Fulbert" wrote: > Hello! > > I wanted to keep the exemples of Guix REPL given by Simon Fournier in his > presentation at the > 10-years-of-guix event : Guix REPL - to infinity and beyond > https://10years.guix.gnu.org/video/guix-repl-to-infinity-and-beyond > > So, first, thanks to Simon Fournier for this presentation. And second, as it > could be convenient > not only to self, I made it available there : > https://fulbert.neocities.org/guix/10-years-of-guix/simon-tournier-guix-repl/guix-repl-exemples.html Thanks for sharing! That's super cool that one can add commands to guix that easily!
Re: How can I step through this code?
October 8, 2022 1:23 PM, "jgart" wrote: > On Sat, 08 Oct 2022 15:03:54 + jbra...@dismail.de wrote: > >> That's smart! > > Did you try it? I've been trying to understand how some Guile code works > by just throwing it in the Racket debugger. It doesn't always work but > when it does it's like driving a fancy cadillac through the stack. hahaha! I have not tried it. I definitely should. I ran into this common problem yesterday. I am of course simplifying: (string-append "hello" (if some-var " world\n")) error: expecting type string (string-append "hello" #unspecified) It took me an embarrassing amount of time to track down where the #unspecified was coming from. I feel like the error message was a little bit cryptic. It said that one particular function cause the error...It just took me a while to track it down. A debugger stepping through the code would have been awesome! > It's too bad that Guile's debugger sucks compared to Racket's debugger. Maybe > someday someone will implement something amazing for that. > > RE The Common Lisp debugger: It's really great but it might be a rabbit hole. > > I recommend using sly or slime with sbcl if you want to go down that. Right now I am super in love with Guix. My main squeeze is working on our existing opensmtpd-service and letting users configure it with proper scheme records. I don't know if I want to play with common lisp. Thanks, Joshua
Re: 100 % derivation available at bordeaux and Berlin, but package Musescore has to be built on my laptop
October 8, 2022 4:33 AM, "Gottfried" wrote: > Hi Guixers, > > it is strange to me, or may be I don't understand something yet, > > because yesterday there were 100 % substitutes available in Berlin and > Bordeaux, > > but 31 packages would have been to be built locally. > > In the last month there were more and more packages which would have to > be built locally. > > Does somebody know why? I get that from time to time. Probably at least once a month. I imagine there was some change to master that triggered some rebuilds and CI has not caught up yet. > > Gottfried
Re: New ,build command sets the wrong path for guix daemon
October 8, 2022 4:51 AM, "Ricardo Wurmus" wrote: > Joshua Branson writes: > >> But do the same in a geiser repl, and I am running into trouble: >> >> #+BEGIN_SRC org >> ,m (gnu services mail) >> scheme@(gnu services mail)> ,use (guix) >> scheme@(gnu services mail)> >> While executing meta-command: >> ERROR: >> 1. : >> file: "/usr/local/var/guix/daemon-socket/socket" > > Is this the location where your guix-daemon listens for connections? If > not you’ve configured your Guix with the wrong localstatedir and/or prefix. Ahh! duh! I compiled guix via ./configure; make; The fix was as you said ./configure --localstatedir=/var Thanks for the help. I owe you a crisp hive five at the next guix conference! > > -- > Ricardo
Re: How can I step through this code?
October 7, 2022 9:25 PM, "jgart" wrote: > On Fri, 07 Oct 2022 21:52:40 + jbra...@dismail.de wrote: > >> October 7, 2022 3:22 PM, "jgart" wrote: >> >> On Fri, 07 Oct 2022 18:45:36 + jbra...@dismail.de wrote: >> >> I wish guile had a nice debugger like elisp. :) >> >> I wish guile had a nice debugger like racket or common lisp. :) >> >> I haven't actually tried those debuggers... > > Just paste some guile code into drracket and press debug to start stepping > through the Guile code. That's smart! > > This guile code should work: > > (define (list-index l k) > (let loop ((n 0) > (l l)) > (and (not (null? l)) > (if (eq? (car l) k) > n > (loop (+ n 1) (cdr l)) > > (list-index '(1 2 3 4 5 6 7 8 9) 2) > > Just make sure you put the following at the top of the file: > > #lang racket > > Of course not all guile code would work because it's Guile and Racket > but some subsets of Guile can be used from the drracket debugger. > > ;()
Re: 100 % derivation available at bordeaux and Berlin, but package Musescore has to be built on my laptop
October 7, 2022 3:50 PM, "Gottfried" wrote: >> Just out of curiosity...you've got an X86_64 laptop right? > > Yes > > Gottfried > > Am 07.10.22 um 20:46 schrieb jbra...@dismail.de: > >> September 27, 2022 1:52 PM, "Gottfried" wrote: >> >>> Hi Guixers, >>> >>> when I did a >>> guix package -u >>> >>> and also >>> when I checked it beforehand >>> with >>> guix package --upgrade --dry-run >>> if 100 % derivations are available ( I did this the last 4 times) >>> >>> nevertheless >>> the music notation program "MuseScore" had to be built on my laptop. >>> With my 64 GB CPU it took 1 hour (I did it twice). >>> >>> But why is it built on my laptop if the derivations are 100 % available >>> and I was not informed that e.g. MuseScore will be built at my laptop. >>> >>> The same with the package "calibre". >> >> Just out of curiosity...you've got an X86_64 laptop right? >>> Gottfried Hmmm, I was thinking that you had perhaps you had a weird arch that did not have substitues built often...
Re: How can I step through this code?
October 7, 2022 3:22 PM, "jgart" wrote: > On Fri, 07 Oct 2022 18:45:36 + jbra...@dismail.de wrote: > >> I wish guile had a nice debugger like elisp. :) > > I wish guile had a nice debugger like racket or common lisp. :) I haven't actually tried those debuggers...
Re: 100 % derivation available at bordeaux and Berlin, but package Musescore has to be built on my laptop
September 27, 2022 1:52 PM, "Gottfried" wrote: > Hi Guixers, > > when I did a > guix package -u > > and also > when I checked it beforehand > with > guix package --upgrade --dry-run > if 100 % derivations are available ( I did this the last 4 times) > > nevertheless > the music notation program "MuseScore" had to be built on my laptop. > With my 64 GB CPU it took 1 hour (I did it twice). > > But why is it built on my laptop if the derivations are 100 % available > and I was not informed that e.g. MuseScore will be built at my laptop. > > The same with the package "calibre". Just out of curiosity...you've got an X86_64 laptop right? > > Gottfried
Re: How can I step through this code?
October 5, 2022 11:06 PM, "jgart" wrote: > Hi > > How can I step through this code? > If you ever find out, then let me know! I wish guile had a nice debugger like elisp. :) > (define-syntax do > (syntax-rules () > ((do ((var init step ...) ...) > (test expr ...) > command ...) > (letrec > ((loop > (lambda (var ...) > (if test > (begin > (if #f #f) > expr ...) > (begin > command > ... > (loop (do "step" var step ...) > ...)) > (loop init ...))) > ((do "step" x) > x) > ((do "step" x y) > y)))
Re: easy firewalling ?
October 4, 2022 3:58 AM, "jordi" wrote: > Hi, happy guix newbie here, > > usually i use ufw for easily managing firewalling, adding iptables rules > etc... I see there is no > ufw package available in guix. Aside > from managing iptables manually, are there other easie alternatives i could > use in guix ? I believe that you need to use iptables or nftables. I don't think guix supports anything easier. The arch wiki has an example config that may work for you: https://wiki.archlinux.org/title/Nftables > > Thanks, thanks, thanks > > Fenix
Re: Unable to locate printer (on the network) - Brother HL-3170CDW
October 6, 2022 2:51 AM, "Christian Gelinek" wrote: > Hi all, > > I am rather new to GuixSD and don't have much experience with GNU/Linux > printing, so please bear > with me. > > Trying to set up my Brother HL-3170CDW series printer over the network I > found some useful messages > on this list, especially the example system configuration at > https://lists.gnu.org/archive/html/help-guix/2020-05/txtEOQnSAKbJY.txt > which I took as a reference when extending my own config file. > > I got the CUPS web GUI working, which detects the printer in the Add Printer > dialog, with a > Connection setting of > dnssd://Brother%20HL-3170CDW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-001ba9fa9f52 > > When trying to print a test page, the State column on the printer's page's > Jobs section becomes > "Unable to locate printer "BRN001BA9FA9F52.local"." > > On another system running Xubuntu 18.04, I can successfully print on the same > printer using a > different connection, namely > ipp://BRN001BA9FA9F52.local:631/ipp/printer. > > So I set up another printer in the GuixSD's CUPS GUI with the same > connection, but unfortunately it > keeps giving me the same error when I attempt to print a test page. > > Any help with fixing or debugging this further would be much appreciated. I wish I could help. I've never tried printing in GNU/Linux... > > Thanks, > Christian
Re: Guix Home question ?
October 6, 2022 3:21 AM, "jordi" wrote: > Hi guixers ! > > While starting to enjoy 'guix home' superpowers i created this git repository > > https://codeberg.org/Fenix/home-config-at-mercurio > > taking care of my old laptop's config. > > I might be missing some basics here... > First question that comes to my mind is... how to avoid the .bash_aliases > imported by my current > .bashrc to mess with the services at home-configuration.scm file ? > What am i missing ? I wish I knew how to help you. :( Guix home is still confusing to me. :) > > happy guixing > > thanks, thanks, thanks
Re: Does guix not include samba service?
March 14, 2022 6:37 AM, "Simon Streit" wrote: > Hello, > > Tobias Geerinckx-Rice writes: > >> Nope, there is no samba service in Guix (yet :-). > > I've actually been working on one, which happens to be my final thesis > for my school course. I completed it, and handed it in. But stopped > shy from posting it to the Guix community. But I've been too quiet on > this subject lately. > > I got a basic service running, have written some documentation for the > manual. But stopped short of submitting patches. I am not convinced > that it is good enough to be included into Guix though. > > It definetly needs better improving. Yesterday I finally started to > refactor it and have prepared it to implement a config serialiser. > Samba's configuration framework overwhelmed me for a bit. > > Anyone willing to see its basic shape? I should prepare a local Guix > branch somewhere for anyone who's interested to see it. I would say just post it to guix-patc...@gnu.org. That way the code is not lost. If someone wants to complete it, then they can. > > Kind regards > Simon
Re: How to run "rmmod xxx" when I shutdown my computer.
February 22, 2022 5:59 PM, "tumashu" wrote: > rmmod mt7921e, a mediatek wifi module > > I find this mode let shutdow time > 10min, so i want to unload it before > shutdown > > not the blacklight. I suppose another possibility is to purchase an open wifi dongle from thinkpenguin. > > -- > 发自我的网易邮箱手机智能版 > > > - Original Message - > From: jbra...@dismail.de > To: tumashu , help-guix > Sent: Tue, 22 Feb 2022 22:47:32 + > Subject: Re: How to run "rmmod xxx" when I shutdown my computer. > > February 21, 2022 9:45 PM, "tumashu" wrote: > >> Hello, every one. >> >> I find a kernel module let shutdown time > 10min, so I want to run "rmmod >> xxx" before shutdown or >> reboot. How to do this job in guix system? > > Hmmm...Could you potentially blacklist the module? > > https://guix.gnu.org/manual/en/html_node/Bootloader-Configuration.html > > The linux-arguments may be a way to blacklist kernel modules. > > May I ask why you wish to remove the module before shutdown or reboot? > > Also which kernel module? > >> >> Thanks!
Re: How to run "rmmod xxx" when I shutdown my computer.
Perhaps you could write a script...Then call that script everytime you want to shutdown... February 22, 2022 5:59 PM, "tumashu" mailto:tuma...@163.com?to=%22tumashu%22%20)> wrote: rmmod mt7921e, a mediatek wifi module I find this mode let shutdow time > 10min, so i want to unload it before shutdown not the blacklight. -- 发自我的网易邮箱手机智能版 - Original Message - From: jbra...@dismail.de (mailto:jbra...@dismail.de) To: tumashu mailto:tuma...@163.com)>, help-guix mailto:help-guix@gnu.org)> Sent: Tue, 22 Feb 2022 22:47:32 + Subject: Re: How to run "rmmod xxx" when I shutdown my computer. February 21, 2022 9:45 PM, "tumashu" mailto:tuma...@163.com)> wrote: > Hello, every one. > > I find a kernel module let shutdown time > 10min, so I want to run "rmmod > xxx" before shutdown or > reboot. How to do this job in guix system? Hmmm...Could you potentially blacklist the module? https://guix.gnu.org/manual/en/html_node/Bootloader-Configuration.html (https://guix.gnu.org/manual/en/html_node/Bootloader-Configuration.html) The linux-arguments may be a way to blacklist kernel modules. May I ask why you wish to remove the module before shutdown or reboot? Also which kernel module? > > Thanks!
Re: How to run "rmmod xxx" when I shutdown my computer.
February 21, 2022 9:45 PM, "tumashu" wrote: > Hello, every one. > > I find a kernel module let shutdown time > 10min, so I want to run "rmmod > xxx" before shutdown or > reboot. How to do this job in guix system? Hmmm...Could you potentially blacklist the module? https://guix.gnu.org/manual/en/html_node/Bootloader-Configuration.html The linux-arguments may be a way to blacklist kernel modules. May I ask why you wish to remove the module before shutdown or reboot? Also which kernel module? > > Thanks!
Re: Failed attempts to install GNU Guix in a laptop
November 29, 2021 12:33 AM, "Rodrigo Morales" wrote: > Table of Contents > _ > > 1. Introduction > 2. Attempts > .. 1. First attempt > .. 2. Second attempt > 3. Additional information > 4. External links > > 1 Introduction > == > > I've tried to perform the system installation [1] twice in a laptop > with no avail. What kind of laptop are you trying to install Guix System on? You could try to use the manual install as described in the manual. I occasionally have to use that instead of the graphical install. > I'm using the ISO whose URL is [3] and is mentioned in [2] and whose > SHA512 is [12]. > > Any help to solve this issue is appreciated. > > 2 Attempts > == > > 2.1 First attempt > ~ > > In this attempt, I used the terminal based graphical interface. The > final result was that when booting, my laptop showed the GRUB shell. > > This was probably caused because I had Ubuntu installed and I didn't > format the EFI partition (i.e. I didn't change the default option "No" > of "Format the partition?" [4]). In this attempt, I used this > partition configuration [5]. > > The congratulations screen [8] was shown and these messages [9] were > shown for a short time before the laptop started the reboot after the > installation. > > 2.2 Second attempt > ~~ > > In this attempt, I used the terminal based graphical interface and the > same partition configuration [5]. The final result was that when > booting, my laptop showed "Operating System Not Found" [7]. > > This time I answered "Yes" to "Format the partition?" [6] in the EFI > partition at the partition configuration step. > > The congratulations screen [8] was shown and these messages [10] were > shown for a short time before the laptop started the reboot after the > installation. > > 3 Additional information > > > The following is the configuration of my BIOS [11]. As you can see, > the "Boot Mode" is set to "UEFI". > > 4 External links > > > [1] https://guix.gnu.org/manual/en/html_node/System-Installation.html > [2] > https://guix.gnu.org/manual/en/html_node/USB-Stick-and-DVD-Installation.html > [3] > https://ftp.gnu.org/gnu/guix/guix-system-install-1.3.0.x86_64-linux.iso > [4] > https://commons.wikimedia.org/wiki/File:Partition_configuration_in_GNU_Guix_installer.jpg > [5] > https://commons.wikimedia.org/wiki/File:Answer_no_to_format_EFI_partition_in_GNU_Guix.jpg > [6] > https://commons.wikimedia.org/wiki/File:Yes_to_format_EFI_partition_in_GNU_Guix_installer.jpg > [7] https://commons.wikimedia.org/wiki/File:Operating_System_Not_Found.jpg > [8] > https://commons.wikimedia.org/wiki/File:Congratulations_screen_shown_by_GNU_Guix_wizard_installer.jp > > [9] > https://commons.wikimedia.org/wiki/File:Messages_shown_after_succesful_installation_in_GNU_Guix.jpg > [10] > https://commons.wikimedia.org/wiki/File:Messages_shown_after_succesful_installation_in_GNU_Guix_2.jp > > [11] https://commons.wikimedia.org/wiki/File:BIOS_in_laptop.jpg > [12] > 6b867323d45638d38a1355d9ad249d680df3b3aef216c0cd5a0b67c1dc445efec33ba3392801fab0c89b008af27de2fb1a16 > 36e6e94859afd353bfd1fd49188
Re: Need help with Xmonad setup and login from tty
October 27, 2021 6:08 PM, "Disseminate Dissent via" wrote: > To whom this may concern, > > Hello, I have a relatively good understand of GNU/Linux. Just moved from Arch > after using it for > several months, looking for more GNU. However, I'm having some serious > difficult with two things > that I imagine are simple. > > During installation I opted out of setting up the default DEs and display > managers since I prefer > to login through TTY. I'm also using xmonad but am having trouble with > getting it up and running. > When invoking `startx` the screen goes black and then I'm unable to back out > or even switch to > another TTY. How would I go back solving these two issues? What hardware do you have? Graphics card? That sort of thing. Guix System doesn't support any proprietary graphics drivers or binary blobs. > > Thanks for any help in advance. > All the best
Re: Guix Home TLDR Cookbook Example
I'd be happy to help out too. Though I still need to finish my libreboot cookbook entry. October 1, 2021 5:37 PM, "jgart" wrote: > Hi, > > What would a guix home "getting started" opinionated minimal config template > look like? > > Maybe we can add this to the cookbook? > > I'd be happy to help in this effort. > > all best, > > jgart > > 3B1D 7F19 E36B B60C 0F5B 2CA9 A52A A2B4 77B6 DD35
Re: updating the daemon on Debian 11
September 9, 2021 2:58 PM, "Vagrant Cascadian" wrote: > On 2021-09-09, Adriano Peluso wrote: > >> I learned that in Debian 11 one can install Guix through apt > > apt install guix I just found this guide: https://ruzkuku.com/texts/debian-guix.html > > That *should* start the daemon, enable substitutes, create the build > users, etc. You shouldn't have to do anything manually. It will, of > course, be a relatively old version of guix (1.2 in bullseye/stable, 1.3 > in unstable/experimental) but you can update guix in the typical ways... > > It is pretty similar to a foreign distro install from guix's binary > releases, for the differences, see /usr/share/doc/guix/README.Debian* > >> What about updating the daemon ? > > The short of it is, the daemon doesn't get updated. It shouldn't need to > most of the time... If there are daemon-relevent security updates, then > you get updates via "apt update && apt upgrade". > > You can of course override that and manually configure guix-daemon that > you build in, say, root's profile if you want and need some new features > in the daemon. > >> What's the procedure for a Guix installed through apt ? > > apt install guix > >> And what's the procedure for updating a user profile ? > > Same as on any guix installation: > > guix pull > guix upgrade > > To some extent, it just provides a trust path from Debian to getting a > guix that you then update through the normal guix mechanisms... > > live well, > vagrant
Re: updating the daemon on Debian 11
September 9, 2021 12:47 PM, "Adriano Peluso" wrote: > I learned that in Debian 11 one can install Guix through apt > > What about updating the daemon ? guix pull (I think ?) > What's the procedure for a Guix installed through apt ? That's a great question. > > And what's the procedure for updating a user profile ? guix package -u > > Thanks
Re: Guix Hang Out Attempt 2 and an Unoffical Guix Hackathon/config party
July 26, 2021 3:29 AM, "Akib Azmain Turja" wrote: > Joshua Branson writes: > >> I believe it is...it's the official jitsi instance. >> >> We could always meet at the official FSF jitsi instance, though I'm not >> certain if they intend their instance to be a hang out instance... > > I know FSF has an Jitsi instance for the associate members, but does FSF > has a public Jitsi instance? I am an associate member. :) I could create the chat room and invite others to join, so we could meet there. However if I get called into work, someone else will have to create the chat room. > > -- > Akib Azmain Turja > > This message is signed by me with my GnuPG key. It's fingerprint is: > > 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 > > See https://emailselfdefense.fsf.org to learn more and protect your > emails and yourself from surveillance. Please send me encrypted > messages whenever possible. > > Never send me Microsoft Office attachments, they use secret proprietary > format so I'll fail to read and trash them; send them in plain text if > possible or in formats like ODF and PDF if your document contains images > or videos. See http://www.gnu.org/philosophy/no-word-attachments.html to > learn more. > > Please don't send HTML emails, use plain text. HTML emails are usually > about thousand times larger than plain text, vulnerable and look ugly to > me. They contain tracker, so whenever someone opens a messsage he is > tracked by third-party. See http://www.asciiribbon.org to learn more. > > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments
Re: Making a DIY smart or dumb phone
July 24, 2021 1:45 PM, "Jonathan McHugh" wrote: > Out of curiosity, how regulated is ham radio in the USA? I lament that your > cultural emphasis on > freedom of expression didnt extend into freedoms for 'classic' radio > channels. Is it better for ham > radio? I've no idea. I do not have my ham license, but my buddy told me that technically I am NOT supposed to use ham radio for boss/employee communicationsI've got some relatives that live out in the country...I can do testing there. "FCC won't let me be me..." in the city. In the country, it's you and three cows for three miles. > > From Europe it appears as if ICT infrastructure in the USA looks godawful > (like AT), has there > been much pushback with grounds up mesh networks? I am also really not familiar. I know that the https://jmp.chat project hopes to use local radios to allow encrypted calls for up to 40+ miles in poor countries. They would probably have more information that I do. The main developer is easy to get ahold of in his XMPP support chat room. > > > Jonathan McHugh > indieterminacy@libre.brussels > >> -- >> Joshua Branson (jab in #guix) >> Sent from Emacs and Gnus >> https://gnucode.me >> https://video.hardlimit.com/accounts/joshua_branson/video-channels >> https://propernaming.org >> "You can have whatever you want, as long as you help >> enough other people get what they want." - Zig Ziglar
Making a DIY smart or dumb phone
Hey guix, EOMA68, and bug-hurd! I'm getting really tired of carrying my Android phone around with google's spyware, so I thought that I would try to make myself a DIY dumb or smart phone... What gets me excited is to see simple guides like this that show you how to make your own smartphone that supports SMS and traditional calling using purism's gnome shell: https://www.youtube.com/watch?v=jjX7nS3kIao (https://www.youtube.com/watch?v=jjX7nS3kIao) (apologies for the youtube link...) The minor problem with the above link is that it uses a rasberry pi, which uses some firemware blobs... Anyway, I would love to make my own guix phone, and unfortunately it needs to support SMS and traditional calls, so there might be some binary blobs for the modem. Anyway, how hard would it be to create such a phone that is EOMA68 compliant? Is that possible? Could I somehow fit a beagle bone board into the EOMA68 case and wire it up? What is the status on the EOMA68 phone? I know you guys have a laptop housing. Does there exist a design for a phone housing? I would also love too eventually love to run a phone on the Hurd. But currently the Hurd is limited to x86. I could use guix to run a hurd vm...then perhaps I could use Emacs inside the hurd vm to get text messages via jabber.el. The Hurd has a working prototype of sound support right? What command do you run to get sound on the Hurd? Here is a list of open-ish computers that I've found. Can anyone add to this list? https://wiki.parabola.nu/Computers Thanks, Joshua P.S. I have no sod-ering experience, and I would prefer to try to do a DIY phone so that I learn more about hardware! Thanks for any advice that you can give!
Guix Hang Out Attempt 2 and an Unoffical Guix Hackathon/config party
Hello friends! Let's try to do another guix hang out next Tuesday, July 27th! We'll meet at 7pm UTC. (I think that is 3pm EST). That is one of the few days I usually have officially off, so I will meet you all with jitsi: https://meet.jit.si/guix password: smoothsystem I plan on meeting for at least an hour, but ya'll are welcome to attend for a shorter or longer duration. Feel free to come and chat about guix or ask any config questions. I'm perfectly happy to try to help you fix your current configuration issue. The following Tuesday, August 3rd at 7pm UTC, let's do an unofficial guix hackathon/config party. What service do you want? What package? What services are you having difficulty setting up? I want to see gitile-service-type get merged personally. It looks so beautiful! How about a sway-service-type? opensmtpd-configuration record? Let's talk about it then: https://meet.jit.si/guix password: smoothsystem If the guix room gets too noisy and crowded, we can always split it up. Live long and prosper, Joshua
Re: Guix Hangout This Wednesday Jul 21 5pm EST is now at 3pm EST
Best of luck! Maybe we can brain storm more ways of paying people to contribute to guix! July 21, 2021 12:26 PM, "Jérémy Korwin-Zmijowski" mailto:jer...@korwin-zmijowski.fr?to=%22J%C3%A9r%C3%A9my%20Korwin-Zmijowski%22%20)> wrote: Hey Joshua, I might be OK to join you if the kids go to sleep gently haha Cheers Jérémy -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
Re: Guix Hangout This Wednesday Jul 21 5pm EST is now at 3pm EST
July 19, 2021 6:49 AM, "Joshua Branson" wrote: > Hello! > > Let's do a GNU Guix hangout this Wednesday night July 21 at 5pm EST. I > think that's -5 UTC. We'll meet online at https://meet.jit.si/guix . > Come and share what cool thing you are doing with Guix! > > P.S. Sorry for the short notice. Also my work is fairly hectic, so it > is possible that I will be called into work like 5 minutes into the > hangout. Hopefully that won't happen though. :) As predicted, I am getting called into work at 5pm. :( Let's just plan on meeting at 3pm EST today. Sorry for changing the time so abruptly, but I have to listen to my boss. > Thanks, > Joshua > > -- > Joshua Branson (jab in #guix) > Sent from Emacs and Gnus > https://gnucode.me > https://video.hardlimit.com/accounts/joshua_branson/video-channels > https://propernaming.org > "You can have whatever you want, as long as you help > enough other people get what they want." - Zig Ziglar
Re: Auto-start service
July 10, 2021 12:15 AM, excala...@tutanota.com wrote: >> When Guix Home is merged, you could probably define much of your user >> services in your home.scm >> file. > > Where is the best place to keep an eye on this? Is there a dedicated branch? https://sr.ht/~abcdw/rde/ https://lists.sr.ht/~abcdw/rde-discuss/%3CCABrWRW2xCCbWSE3DAcWns01CmDyoGVAywL6dwyQoAENTrUZqhw%40mail.gmail.com%3E There was some rumblings in the guix-devel mailing list as well. Apparently Ludo has tried it out! >> I'd be happy to help you write a cookbook recipe. I've written a few >> cookbook sections, and I'd be >> happy to help you with the markup. :) > > Thank you, I'd like that.
Re: Auto-start service
July 8, 2021 6:29 PM, "excalamus--- via" wrote: > Meanwhile, I was advised to define a service in my config. I'm in the > process of reading the > documentation (really, figuring out how to set Geiser up to read the > documentation) so that I can > understand the relevant parts. Is the config the generally recommended > approach for Guix SD versus > the $HOME/.config/shepherd directory? When Guix Home is merged, you could probably define much of your user services in your home.scm file. > Surely someone else has set up an Emacs daemon service? The linked thread > mentioned this being a > good idea for a cookbook recipe. I'd be happy to contribute to that as I'm > confident I'm not alone > in wanting an Emacs daemon service defined. I'd be happy to help you write a cookbook recipe. I've written a few cookbook sections, and I'd be happy to help you with the markup. :)
Re: My very own Guix System Server in my apartment
Yes I do want to do that! Thanks for the reminder! June 30, 2021 12:02 PM, "Gary Johnson" wrote: > Joshua Branson writes: > >> Hello Guix people! >> >> So I will shortly be setting up my very own Guix System server in my >> apartment! >> >> [enthusiasm and a list of services to run on the new server...] >> >> What else should I do with said server? > > Run a Gemini server, of course! > > https://gemini.circumlunar.space > > Happy hacking! > Gary > > -- > GPG Key ID: 7BC158ED > Use `gpg --search-keys lambdatronic' to find me > Protect yourself from surveillance: https://emailselfdefense.fsf.org > === > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > > Why is HTML email a security nightmare? See https://useplaintext.email > > Please avoid sending me MS-Office attachments. > See http://www.gnu.org/philosophy/no-word-attachments.html
Re: package manager guix on Windows and OSX
June 25, 2021 7:18 PM, indieterminacy@libre.brussels wrote: > I love Latex, Context, I feel a bit weird for not having dabbled with > Texinfo. Im not sure Texinfo > is going to sway enough younger programmers (Im neither young nor old), I > fear too many have been > malconditioned into accepting delible communication techniques - Texinfo may > no longer cut it. We all owe Ludo a big thanks for writing Skribilo. > I would consider Org mode to probably be the most acceptable default, though > in many respects > Skribilo could be more of a purer expression of a complete Guix approach. Are > the aforementioned > all different ways of dissuading people from considering Guix or documenting > for it? My understanding is that GNU Guix is a GNU project. As such we abide by the GNU coding standards, which means that our documentation standard is GNU Texinfo. It was suggested to Stallman a while ago that we should make the documentation standard Org mode, but Stallman did not like to force people to use Emacs to write GNU documentation. I would love to re-implement Org mode in GNU Guile, but that would probably be several years worth of effort. :) Or perhaps not. I could just write a reader in Skribilo! > FYI, I have been wading into the Gemini protocol the last two months. Beyond > its more noticable > security and publishing advantages, I have been entranced by the terseness of > its Gem .gmi > (minimalist MarkDown) format. I consider it has crossover appeal (as least > between documenting > power users across OSes). FYI, the OpenBSD crowd seem to have the lead in the > Gemini space - but > this is presumable for the protocol rather than the markdown. I tend to agree. Drew Devault likes it a lot. I'm hoping to set up my blog to be hosted via gemini too. > Since then I stopped annotating in Orgmode and will be building workflows to > (eventually?) > approximate a lot of Orgmode functionality. Obviously Orgmode is awesome but > I wonder if it is too > designed around individual workflows and procedures - where greater payoff > comes from pooled > workflows and procedures. > > I had success/pleaseure converting from .gem to .org formats with this > experimentation (concerning > annotations for a Guix CWL blog post) > => https://git.sr.ht/~indieterminacy/q1q20hqh_kq_oq_parsing_gem_zsh/tree > > From the tree you can see that it is feasible to output to *tex* or *html* > formats, using simple > REGEX foo. > > Additionally there is an unfinished attempt at exporting to (sic) Skribilo. > > (You may want to ignore the potentially impenitrable annotations, which > concerns a 'Recursive > Modelling Language' Ive been working on - it would certainly confuse this > topic) That sounds fun! Chat to me off list if you care to explain it. > I would be happy if Guix writing was done with minimal Gem markup but with > heavy Lisp usage for > interpretation, synthesis, collection and publishing of content. I had > originally taken the > approach that there should be Tex heavy markup first and then simplified > transposing into other > formats later. Now Im on the other end of the horseshoe. > > I miss experimenting with regards to Tikz as a mechanism for generating > graphics. I understand why > other tools are used and ho programmers tend to seemingly think in terms of > characters. It bothers > me that I do not have beautiful graph displays representing my environment - > to consider things > from an impressionistic viewpoint and a contrast to text-editor/browser > dualism. I suspect it isnt > insurmountable and could allow visually minded people to not feel aggrieved > by TUIscapes. > >> What do you mean by: >> >>> empathise regarding why networking engineers may prefer having a licence >>> which permits encapsulation more readily. > > I mean: the MIT license allows you to operate in a commercial setting, > whereby only the binaries > are provided, without the requirement to provide the source content. While I > normally am against > this, an OpenBSD networking head has explained to me how there would be > usecases where this would > be useful - if only to provide the commercial breathing space for niche > projects. I probably should > stop paraphrasing this person now. I suppose that's fair. > Jonathan McHugh > indieterminacy@libre.brussels
Re: package manager guix on Windows and OSX
June 25, 2021 1:53 PM, "Jonathan McHugh" wrote: > Hi Joshua, > > A Guix-BSD hybrid would be delectable. > > I consider the OpenBSD community to be excellent, not only for their > prioritising a tight kernel and high levels of security standards but > because they refuse to release updates until documentation such as > manpages are comprehensively written. That and their software is top notch! Linus called their developers "masturbating monkeys", because of their obsessive pursuit of security! hahaha. At every shutdown, the OpenBSD kernel is re-linked. It's the same kernel when you reboot it, but the binary is re-ordered. That's amazing! > This final point is something which the Guix community needs to > improve - there is too much of a publish first - decribe later philosophy. As > somebody still trying > to fully master I get the feeling that > their are things which will elude me until I get enough battle scars and > my productivity will be hampered until I reach that sweet spot (or at > least become more proficient/confident at just asking!) My personal feeling is that GNU should adopt Org mode as their documentation standard. It's slightly easier to use than texinfo. Thought texinfo is pretty rad. :) > I should state that I consider the help-guix and devel-guix to be highly > informative, friendly and professional. There should be greater > expectations of contributors to explain their improved functionalities > in advance. Additionally, I hold your individual support to be > exemplary. Well thanks! I might mount that compliment on my wall! > Additionally, while I understand that MIT is in many ways deficient > compared to GPL licenses, if not pernicious and counterproductive I do > empathise regarding why networking engineers may prefer having a licence > which permits encapsulation more readily. Well, what is interesting, is that the HyperbolaBSD developers intend to rewrite 20% of the BSD kernel and license the whole project GPL. :) What do you mean by: > empathise regarding why networking engineers may prefer having a licence > which permits encapsulation more readily. > Joshua Branson writes: > >> Edouard Klein writes: > > To port Guix to another operating system such as BSD (including OSX), > one would have to translate these calls. > > For example, Guix is the only software I've actually encountered that > can not run in SmartOS' emulation of Linux, because the system calls it > uses are not implemented there. > > I would love for Guix to be a Multi Kernel package manager (I mean it > works on the Hurd also, but I have never encountered a Hurd user in real > life). My dream would be to port Guix to Plan 9 ;-) >> Why Plan 9? May I ask? And I do really like the Hurd, but I use the >> dvorak keyboard layout. My understanding is that the Hurd does not >> support variant keyboard layouts yet... :( >> >> I actually think that the Guix developers may want to consider a port to >> the OpenBSD kernel, provided that the Hyperbola developers get >> HyperbolaBSD working. Though I guess the Debian guys sort of did >> already. :) >> >> https://www.hyperbola.info/news/announcing-hyperbolabsd-roadmap > > -- > Jonathan McHugh > indieterminacy@libre.brussels
Re: package manager guix on Windows and OSX
June 24, 2021 2:26 PM, "Patricio Martínez" wrote: > Do anyone know the posibilities about install Guix on another system > diferent of Linux? Awesome! I love speculating on topics I know virtually nothing about! Most of my information comes from a mailing list thread that is about a year old. So the situation may be better than I describe it. :) The easiest way is to use GNU Guix on Windows is WSL (Windows subsystem for Linux): https://www.mail-archive.com/guile-user@gnu.org/msg12167.html I'm not a big fan of that, because of Window's history of "embrace, extend, extinguish." And that only lets you run Guix in Windows...what about Mac? The Hurd? React Os? Redox Os? https://www.mail-archive.com/guile-user@gnu.org/msg12173.html GNU Guix runs entirely on GNU Guile with some C++ for the build daemon. C++ is fairly portable. That bit should be possible to port, though I believe that the development plan is to eventually rewrite the C++ build daemon in GNU Guile. GNU Guile is the tricky bit. To the best of my knowledge, the newer versions of GNU Guile run exclusively on GNU/Linux, which is NOT the fault of the Guile developers! It's REALLY HARD to port things to all OSes. None of the Guile developers are paid for their fabulous work. And it's not like Windows or Mac make it easy to port to their platform. https://www.mail-archive.com/guile-user@gnu.org/msg12172.html Though, the Lilypond developers did get guile 2.2 version working on Windows. https://www.mail-archive.com/guile-user@gnu.org/msg12163.html So did the gnucash guys for GNU Guile 2.2, but it is fairly tough to get it to build: https://www.mail-archive.com/guile-user@gnu.org/msg12164.html Also, it's a 32-bit GNU Guile that was ported to windows and it does not supports thread. Also Guile 3.0's JIT works on lightening, which is a C library (program ?). And I do not know if that supports Windows. But C is really portable. :) > Thanks you very much and sorry for my english It was marvelous English! You should teach it!
Re: guix pack and flatpak
At the moment, I do not believe that it can. But it would be cool if it could... Thanks, Joshua P.S. I really probably shouldn't be responding to guix emails right now. I'm still working on my night audit shift, and I'm so sleepy I can barely write a sentence. :) May 2, 2021 7:14 PM, "Andy Tai" wrote: > a question hopefully not too wild: Guix can generate Docker image via > > guix pack > > Only knowing flatpak in brief terms, can guix software bundle > mechanisms be used to create flatpak? > > -- > Andy Tai, a...@atai.org > Year 2021 民國110年 > 自動的精神力是信仰與覺悟 > 自動的行為力是勞動與技能
Re: Starting Sway a Wayland window manager
March 27, 2021 8:44 PM, "Bone Baboon" wrote: > I have installed Sway a Wayland window manager. > > I have copied the `gnu/store/-sway-1.5.1/etc/sway/config` to > `~/.sway/config`. > > When I run `sway` or `sudo sway` on virtual terminal 1 it outputs > "XDG_RUNTIME_DIR is not set in the environment. Aborting.". `man sway` > and `sway --help` does not mention `XDG_RUNTIME_DIR`. An suggestions on > how to deal with this error? I run sway on my T400. I think I manually set XDG_RUNTIME_DIR in my ~/.bash_profile. Let me check how I do it...I don't have access to my T400 at the moment. I'm just responding now, to remind myself to help you out later. :)
Re: Start Xorg server using xinit manually
March 21, 2021 6:31 PM, "Bone Baboon" wrote: > I am trying to start `xorg` from the Linux console virtual terminal 1 > (vt1) using `xinit`. I have not got `xorg` working yet and would > appreciate any assistance. May I ask why you are trying to manually run xinit? Is your favorite wm or desktop environment not packaged as a service in Guix? Ahh, I see you are just trying to start Emacs. Very awesome! If all you are wanting is to use Emacs, you could always just launch Emace from the virtual console, and not have mouse support. > > CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx > GPU: AMD ATI 05:00.0 Picasso > Maybe you're running into linux-libre GPU isses. I think the AMD graphics cards prefer to use some binary blobs to operate properly... > I have installed `xorg-server`, `xinit`, `xf86-video-ati`, > `xf86-video-fbdev`, `xf86-video-vesa` and `emacs`. > Though I thought xf86-video-vesa was supposed to run on almost anything.
Re: How to remove extension from service definition?
March 20, 2021 1:57 PM, zna...@disroot.org wrote: > Hello, Joshua! > Now I faced to another interestng task: > 1. I use %desktop-services that declares 'network-manager-applet' > as extension of 'profile-service-type' here [1] > 2. I use 'xfce-desktop-service-type' that has 'profile-service-type' > as an extension [2] > 3. I cannot just simply remove 'profile-service-type' because it is > really important [3] > 4. I need to remove 'network-manager-applet' from the extensions list > in 'profile-service-type' declared here [4] > Do you know some Guix function for remove extension? > If you have a snippet for remove extension from service it > will be very exact I want. I don't really know of the elegant way to do what you want. :( I currently am running nm-applet, but sway doesn't officially support it. I don't know how to elegantly remove it from my config either. :( Best of luck!
Re: Question about one package
March 8, 2021 11:10 AM, "Charles Direg" wrote: > Good morning, to whom it may concern: So formal. :) > > First of all, I apologize for using a Gmail email, it happens that I do not > know any mail server that is free, but, if you could give me any > recommendation in this regard, I would greatly appreciate it. > There are two that come to mind: dismail.de and riseup.net Both are gratis, but please do consider donating to them. Nothing is really gratis. Someone has to pay for it. :) Fastmail is a paid email account and I think it charges $3 / month. > The software that is on this page: > https://www.simulide.com/p/home.html > From my perspective, it is free software, since it is published under the > GPL, however it is not within the Guix repository, could you add it so that > it can be available? I'm not so sure how to create the package, so I come > to you. That actually looks super cool! Most guix developers are volunteers. Packaging software for guix is not super hard (I would know! I've never done it!). The contributing section of the manual may give you some pointers. If you'd rather pay someone to package this for you...that is certainly possible. I would guess you'd pay $50-$500 for that service. Can someone else chime in here? How much would you charge to package something for guix? > And finally, I am a university student, so I am forced to use proprietary > services under the web such as Google Meet, Gmail, etc. Could it be > feasible to use guix with these services without compromising freedom, or > would it be better to continue using Windows for these areas? > I ask this since Mr. Stallman in some of his conferences mentioned that it > was better not to register on websites that require registration, however, > as I insist, I am forced to use those services since my university is > uncompromising when it comes to using other software other than the one > they already have. Almost all things that Windows can do, GNU/Linux can do. Guix has ungoogled-chromium packaged, which would easily run Google Meet, Gmail, etc. There may be some specific windows-only programs that you may need to use... but generally it'll run on Linux too. Even some windows-only programs will run in wine on GNU/Linux. I personally have an old Android phone. I want to have a phone that runs GNU/Linux, but I haven't bought anything yet. I also use jmp.chat. My phone bill is $3/month. :) > Best regards, and thank you very much for your kind time, I will be waiting > attentive to your responses. > > Sincerely: > ~ Abraham Huerta
Re: How to remove extension 'network-manager-applet' from 'service profile-service-type'
March 7, 2021 3:56 AM, zna...@disroot.org wrote: > Hello, Joshua! > No, sorry. network-manager-applet is an extension of > profile-service-type > that is included in xfce-service-type in desctop.scm. > > Though I remove network-manager from %desktop-services > (I already done it in attached config) > but it pervades into my system > as far as network-manager-applet is included > in profile-service-type (that s part of xfce-service-type) > and network-manager-applet requires network-manager. > > My trouble is that there are two places where > 'profile-service-type' is affected: > > 1. in xfce-service-type definition it is just only including > 2. in %desktop-services it is extended with network-manager-applet > > I think I need somehow to remove > network-manager-applet > from profile-service-type > > How to do it? > > Here it is 'xfce-desktop-service-type' definition: > https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n980 > > Here netwok-manager-applet is included into profile-service-type: > https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1260 Oh wow! I didn't actually know that was a thing! I did just find this in the manual: The ‘modify-services’ form provides a handy way to change the parameters of some of the services of a list such as ‘%base-services’ (*note ‘%base-services’: Base Services.). It evaluates to a list of services. Of course, you could always use standard list combinators such as ‘map’ and ‘fold’ to do that (*note List Library: (guile)SRFI-1.); ‘modify-services’ simply provides a more concise form for this common pattern. So it looks like you can use 'map' and 'fold' on %desktop-services to manually remove that nm-applet...I'm not entirely certain how to do it though... Here's how you can play with that: $ guile guile command line $ ,use(gnu services desktop) guile command line $ %desktop-services ;; this will list the default desktop-services guile command line $ (map ;; or fold ;; some code %desktop-services) > > March 6, 2021 5:01 PM, "Joshua Branson" wrote: > >> znavko--- via writes: >> >>> Hello! I use 'xfce-desktop-service-type' in my config.scm >>> and xfce service is using 'profile-service-type'. >>> Everything was ok while this line not appeared in services/desctop.scm: >>> >>> 1260: >>> (simple-service 'network-manager-applet >>> profile-service-type >>> (list network-manager-applet)) >>> >>> How can I remove back 'network-manager-applet' extension from >>> profile-service-type >>> in my config (in attach)? >> >> Something like this might work: >> >> #+BEGIN_SRC scheme >> (use-service-modules >> networking) >> >> (define %my-desktop-services >> (remove (lambda (service) >> (member (service-kind service) >> (list >> network-manager-service-type >> ))) >> %desktop-services)) >> >> (operating-system >> (services >> (cons* %my-desktop-services))) >> #+END_SRC >> >>> PS: I dislike networkmanager for it is buggy and slow. >> >> -- >> Joshua Branson (joshuaBPMan in #guix) >> Sent from Emacs and Gnus >> https://gnucode.me >> https://video.hardlimit.com/accounts/joshua_branson/video-channels >> https://propernaming.org >> "You can have whatever you want, as long as you help >> enough other people get what they want." - Zig Ziglar
Re: Flickering XWayland programs after resume from suspend
March 1, 2021 9:39 AM, "Sébastien Lerique" wrote: > > Thanks for the report. It turns out this happens also on Gnome on > X11, and on Waybar sometimes, so it's not an XWayland issue. Here > are two videos of some of the behaviour (this is after a full > update of system and profile): > https://cloud.eauchat.org/s/T82QzNfSYHnbN6F Thanks for including the videos! I always think windows of bugs are the most helpful! I suppose you could just exclusively use wayland applications... Not exactly the best way to fix it. > > Best, > Sébastien
Re: Updating substitute error: TLS error in the push function
H, Have you tried updating guix recently? February 16, 2021 2:47 AM, "Todor Kondić" wrote: > I keep getting this error, > > --- > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%guix > substitute: error: TLS > error in procedure 'write_to_session_record_port': Error in the push function. > --- > > while `sudo guix system reconfigure ...`. > > Then I get into the whole compilation cycle. > > Guix version: > 61361ef2646cc59f18fd1d33d9d13348930255b7
Re: Emacs Guix and channels
Sergiu Ivanov writes: > Hi John, > Tell me how I can help. > > I picked up Guix a couple of weeks ago and my Elisp programming > experience is quite limited, but I may still be useful :-) > I think emacs-guix has been broken for a while. There is a new effort to fix it. The new home for emacs-guix is at savannah. http://git.savannah.gnu.org/cgit/guix/emacs-guix.git #+BEGIN_SRC sh git clone https://git.savannah.gnu.org/git/guix/emacs-guix.git #+END_SRC Other relevant links: http://savannah.gnu.org/projects/guix https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00170.html Best of luck! -- Joshua Branson (joshuaBPMan in #guix) Sent from Emacs and Gnus https://gnucode.me https://video.hardlimit.com/accounts/joshua_branson/video-channels https://propernaming.org "You can have whatever you want, as long as you help enough other people get what they want." - Zig Ziglar
[PATCH] * doc/guix-cookbook.texi (Guix System Image API): new section
--- doc/guix-cookbook.texi | 187 + 1 file changed, 187 insertions(+) diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index 54ab99558e..d9835c43f5 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -1353,6 +1353,7 @@ reference. @menu * Customizing the Kernel:: Creating and using a custom Linux kernel on Guix System. +* Guix System Image API::Customizing disk images to target specific platforms. * Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. * Customizing a Window Manager:: Handle customization of a Window manager on Guix System. * Running Guix on a Linode Server:: Running Guix on a Linode Server @@ -1601,6 +1602,192 @@ likely that you'll need to modify the initrd on a machine using a custom kernel, since certain modules which are expected to be built may not be available for inclusion into the initrd. +@node Guix System Image API +@section Guix System Image API + +Historically, Guix System is centered around an @code{operating-system} +structure. This structure contains various fields ranging from the +bootloader and kernel declaration to the services to install. This is +useful to create an installer image, but the new Guix System image API +makes it possible to create an image that the user boots into directly. +For example, an image that targets the Beagleboard or PinePhone +directly. + +Turning an @code{operating-system} structure into a disk-image requires +additional information such as the image label, size and +partitioning. To this end, we can use the new @code{image} record. + +@lisp +(define-record-type* + image make-image + image? + (name image-name ;symbol + (default #f)) + (format image-format) ;symbol + (target image-target + (default #f)) + (size image-size ;size in bytes as integer + (default 'guess)) + (operating-system image-operating-system ; + (default #f)) + (partitions image-partitions ;list of + (default '())) + (compression? image-compression? ;boolean + (default #t)) + (volatile-root? image-volatile-root? ;boolean + (default #t)) + (substitutable? image-substitutable? ;boolean + (default #t))) +@end lisp + +This record also contains the operating-system to instantiate. The +@code{format} field defines the image type and can be @code{disk-image}, +@code{compressed-qcow2} or @code{iso9660}. In the future, it could be +extended to @code{docker} or other image types. + +A new directory in the Guix sources is dedicated to images definition. For now +there are two files: + +@itemize @bullet +@item +@file{gnu/system/images/hurd.scm} + +@item +@file{gnu/system/images/pine64.scm} + +@end itemize + +Let's have a look to @file{pine64.scm}. It contains the +@code{pine64-barebones-os} variable which is a minimal definition of an +operating-system dedicated to the @b{Pine A64 LTS} board. + +@lisp +(define pine64-barebones-os + (operating-system +(host-name "vignemale") +(timezone "Europe/Paris") +(locale "en_US.utf8") +(bootloader (bootloader-configuration + (bootloader u-boot-pine64-lts-bootloader) + (target "/dev/vda"))) +(initrd-modules '()) +(kernel linux-libre-arm64-generic) +(file-systems (cons (file-system + (device (file-system-label "my-root")) + (mount-point "/") + (type "ext4")) +%base-file-systems)) +(services (cons (service agetty-service-type + (agetty-configuration + (extra-options '("-L")) ; no carrier detect + (baud-rate "115200") + (term "vt100") + (tty "ttyS0"))) +%base-services +@end lisp + +The @code{kernel} and @code{bootloader} fields are pointing to packages +dedicated to this board. + +Right below, the @code{pine64-image-type} variable is also defined. + +@lisp +(define pine64-image-type + (image-type + (name 'pine64-raw) + (constructor (cut image-with-os arm64-disk-image <> +@end lisp + +It's using a record we haven't talked about yet, the @code{image-type} record, +defined this way: + +@lisp +(define-record-type* + image-type make-image-type + image-type? + (name image-type-name) ;symbol + (constructorimage-type-constructor)) ; -> +@end lisp + +The main purpose of this record is to associate a name to a procedure +transforming an @code{operating-system} to an image. To understand why +it is necessary, let's have a look to the command producing a disk-image +from an @code{operating-system} configuration file: + +@example +guix system
Re: converting a distro to guixsd
Hello Kevin! Why yes there is! https://guix.gnu.org/manual/en/html_node/Binary-Installation.html Note: We recommend the use of this shell installer script. The script automates the download, installation, and initial configuration steps described below. It should be run as the root user. As root, you can thus run this: cd /tmp wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh chmod +x guix-install.sh ./guix-install.sh It is possible to convert say Debian into Guix System. After you install guix the package manager onto debian, then you create for config.scm file, then run as root guix system reconfigure config.scm Please note that this is perhaps not the ideal way to use install guix system, because a majority of debian specific files will still be present. So you will have a mix match of stale unused debian files along side guix specific files. Have you tried the guix system installation? https://guix.gnu.org/manual/en/html_node/System-Installation.html#System-Installation Thanks, Joshua January 17, 2021 2:23 PM, "kevinbanjo" wrote: > So there's a script to install the guix package manager onto another distro. > > Is there a script, or at least a doc, on how to then convert that distro in > place into GuixSD? > > TIA, > -Kevin
Re: Guix on Smartphones
January 16, 2021 3:58 PM, "Christopher Lemmer Webber" wrote: > Joshua Branson writes: > >> It's certainly possible to use guix system on a mobile phone. Has >> anyone done it yet? > > My suspicion is that the easiest target would be the pinephone? That or the purism phone. Man what a great time we live in. There are 2 GNU/Linux phones! :)
Re: efi dual boot issue
January 16, 2021 3:55 PM, "kevinbanjo" wrote: > > yeah, well, that's the crux of my problem. I turn off legacy (bios) boot in > the bios setup and > windows still boots just fine but I can no longer boot into the guix ISO. If > I hit escape when > booting I get a file browser asking me to select a file on the ISO to boot > from so I browse around > in its file hierarchy and find the various boot files and hit enter and it > just comes right back to > the file browser. > > So have you heard of anyone having a problem like this, of not being able to > boot EFI into the most > recent ISO? > > -Kevin Hmmm, I guess you are probably picking the wrong file to boot from. What file are you selecting to boot? Thanks,
Re: efi dual boot issue
Hello, What kind of hardware do you have? Laptop? Desktop? What processor? That kind of information would be helpful. Also, note that I have never dual booted GNU/Linux and windows. I just use GNU. I think your problem amounts to configuring the bootloader section in config.scm incorrectly. There are two ways to boot up a computer: bios mode or EFI. https://guix.gnu.org/manual/en/guix.html#Manual-Installation Note: Unsure whether to use EFI- or BIOS-based GRUB? If the directory /sys/firmware/efi exists in the installation image, then you should probably perform an EFI installation, using grub-efi-bootloader. Otherwise you should use the BIOS-based GRUB, known as grub-bootloader. See Bootloader Configuration, for more info on bootloaders. When you boot up the installation image does the director "/sys/firmware/efi" exist? If so, then you are booting via EFI, and you should follow the directions in the manual via EIF installation: namely you need an EFI partition: mkfs.fat -F32 /dev/sda1; And you need to specify this EFI partition in your config.com: (file-system (type "vfat") (mount-point "/boot/sda1") (device "/dev/sda1")) And you need to use the EFI bootloader in config.scm: (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi"))) If this is a bios only install, then you need to use the bios bootloader in your config: (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda")) Does that help? Thanks, Joshua January 15, 2021 4:24 PM, "kevinbanjo" wrote: > Hi everyone. I'm trying to install a dual boot with windows 10 btrfs root > GuixSD and I have a catch 22 I can't figure out how to resolve: > > When I go to generate the system it says that grub-install didn't work (I > can't remember exactly why and I was in console mode so I couldn't > copy/paste the error but the gist of it was that it was because I booted in > bios mode). > > I had to go into bios and disable my legacy boot and windows still boots > but I can't boot the GuixSD USB ISO. > > It's an HP laptop and when I hit ESC during boot and select boot options it > walks me thru the EFI boot files and I picked both the boot files and it > just returns to the boot menu. > > I also tried hard resetting my laptop (unplugging it, pulling out the > battery and holding the power button down for a while) plus booting windows > into recovery mode and letting it try and fix the boot (which probably only > did the windows one as that was the only one that showed up) and still > nothing. > > How do I build an EFI boot if I can't boot GuixSD ISO as EFI? > > TIA, > -Kevin
Re: How to reconfigure system without downloads I did not order?
There is some code for guix that will allow guix to distribute software updates over IPFS. You are welcome to contribute to that! I believe that there is also some work that will allow people to fetch software updates over GNUnet. Both of these proposals would allow users from all over the world to publish software updates to others, like torrent-ing works. November 28, 2020 1:03 PM, zna...@disroot.org wrote: > I restarted the process of reconfigure (usual without additional flags and > hacks) > for abput 25 times and at last it downloaded everything and finished > successfully. > > I think Guix needs good infrastructure and some > mechanism of checking optimal mirrors and recommendations for using them. > > To add new disk into system with such a bad lucks is a very bottle neck of > this powerful system. > > November 28, 2020 12:14 PM, "Tobias Geerinckx-Rice" wrote: > >> Hullo znavko, >> >> znavko--- via 写道: >> >>> I am sorry. How to prevent the process of system upgrade and >>> just remain things as they are but only adding new disk to my >>> system? >> >> Guix can't upgrade your system, it can only build a new one. It >> will merely re-use parts of the old system that they have in >> common (which can be and often is ‘almost everything’). >> >> This is actually significant: you can't ask a new Guix to modify >> an older Guix's system, to leave everything in place but just add >> this one small thing, like you can for bare profiles. For that, >> you need to reconfigure the old system with the same version of >> Guix that was used to build it. >> >> What do >> >> $ guix system describe >> >> and >> >> $ guix describe >> >> say? My guess is they will both display a different commit >> because you've ‘guix pull’ed after creating the system. If so, >> you can use >> >> $ guix time-machine --commit= -- system >> reconfigure … >> >> to apply your changes. >> >> If the system and guix commits *do* match and you've added nothing >> besides a new FILE-SYSTEM, I have no idea why Guix is >> (re-)building ffmpeg. An overzealous ‘guix gc’ in the meantime? >> >> Kind regards, >> >> T G-R
Re: Can Guix support Zen 2/AMD Ryzen?
I am kind of shooting from the hip here, others may be more knowledgeable than me, but here is my two cents. As a general rule, any "brand new hardware" (except server grade hardware and Intel hardware) generally needs 3-6+ months before it has good Linux support. So you may run into issues using the latest and greatest thing. If you want a good GPU, then you might check out this: https://www.phoronix.com/scan.php?page=news_item=Nouveau-K2020-Low-End-Card It's a $50 graphics card that works with the libre nvidia driver (nouveau). I think you have to manually set the clock frequency though...All AMD graphics cards are virtually useless on the Linux libre kernel. AMD has proprietary firmware, which Linux libre disables. Nvidia is as bad. I think the integrated graphics from Intel works fairly well with Linux libre. I've also run into that booting issue. I think there is a way to disable fancy graphics rendering during the installer, which is what I had to do, to get guix to run on my AMD APU a few years ago. Maybe someone here can point out how to do that, because I'm blanking on the specifics. If you are trying to game on Linux libre, you will probably run into some issues. :( November 23, 2020 4:38 PM, "Jesse Gibbons" wrote: > Hi guix, > I built a guix image for a hardware enthusiast friend to try on his > computers, in part to see how > well/completely his more modern hardware would run guix and if it would be > worth commissioning him > to build me a computer. It successfully booted, but the screens turned blank > and didn't show gdm. > My friend tried this twice, and the same thing happened. He tried > ctrl+alt+f{1..6} and didn't see > anything (though he has a weird keyboard that requires him to hold a modifier > key to enter any > function key). He suggested it might be because his computer has a Ryzen CPU > with the Zen 2 > Architecture, which he knows might need to work around. Since it booted fine, > I think it might be > more related to his Nvidia GPU. Is there anything I can do, without resorting > to proprietary > solutions, to make a guix image with a desktop at least displays with his > hardware? > -Jesse
Re: OpenVPN Service
I had an issue with openvpn service leaking my DNS queries. I've set up network manager to manage my vpn connections. Though, I think I had to use DNS over HTTPS to fix the leaking DNS issue. November 18, 2020 2:55 PM, "Raghav Gururajan" wrote: > Hello Julien! > >> I'm surprised by this one: you already set ca to something different. Can >> you share the generated >> openvpn.conf? > > OOPS! There was a mistake in config.scm. This error is gone now. > > Now the openvpn.conf is https://paste.debian.net/1173026 > > and error is https://paste.debian.net/1173027 > >> Ok, looking at the service definition, this is not so surprising: it expects >> a file in the cert and >> key fields, and uses the defaults here. I'm surprised it doesn't complain >> about client.crt. I >> pushed a small update to the service. After you run guix pull, you should be >> able to specify (cert >> 'disabled) and (key 'disabled). > > Thanks a lot! I will try it. > >> This is only a warning, but you don't want your password to be world >> readable: chown it to >> openvpn's user, and chmod it to 600. > > Cool! > > Regards, > RG.
Re: Getting Jitsi to work with IceCat
May I ask how you install add-ons with Icecat? Every time I've tried to install an extension, I've gotten a complaint that this plugin is meant for Firefox. Your version is not compatible. Admittedly, I am trying to install Ad-Block Plus...Maybe that is a bit different. And of course perhaps Guix should have a way to install add-ons for Icecat. "guix package -i icecat-ad-block-plus", but that's a topic for another day. November 14, 2020 4:50 AM, "Pierre Neidhardt" wrote: > Hi Guixers! > > Since this has bitten me for a long time and it seems to trip many > IceCat users, I'd like to share a tip to get https://meet.jit.si to > work on IceCat: > > - Install a user agent switcher extension like this one: > https://addons.mozilla.org/en-US/firefox/addon/uaswitcher > > - Switch to the latest Firefox user agent. Make sure to apply the > change to the right tab. > > By the way, this seems to fix more than just Jitsi. > > Happy Jitsing! > > -- > Pierre Neidhardt > https://ambrevar.xyz
Re: Zoom
I have heard that Firefox does have some issues with Jitsi. Your mileage may vary. If you run into trouble, you can always try ungoogled-chromium. Thanks, Joshua November 13, 2020 1:57 PM, "zimoun" wrote: > Dear, > > On Fri, 13 Nov 2020 at 18:15, Roy Lemmon wrote: > >> Can anyone give me hints on getting Zoom installed with sound ? > > Since Zoom is not free, AFAIU, I am not sure that people here have hints > for that. Does the sound work with Jitsi or BigBlueButton? > > All the best, > simon
Re: Spams in the help-guix list ?
Just out of curiosity, how does guix limit spam? I personally have never seen spam in the list. Are most emails manually approved? Can I help in some regard? Thanks, Joshua
Re: What are you using to harden your Guix System?
I'm using sway instead of X. Does that count? Though I'm still using X for Emacs It would be great to add a cookbook page about how to harden guix! Thanks, Joshua
Re: Certbot service: no http -> https redirection
Perhaps my guix configuration will help you figure out how to write your config.scm properly. The below file is what's running gnucode.me https://notabug.org/jbranso/linode-guix-system-configuration/src/master/linode-locke-lamora-current-config.scm Best of luck, Joshua
Re: how to contribute software?
Hello! How do you build the package? c-make? meson? autotools? Guix provides some fairly common build systems. There's a lot of examples of package definitions in the guix source code gnu/packages/ directory. If you run into any issue packaging, you can always ask more specific questions here or on irc in #guix. Best luck! October 16, 2020 4:35 PM, mcconnaug...@jeffnet.org wrote: > My project at experix.sourceforge.net is intended for use in a > laboratory to operate instruments, collect data from them, analyze and > present the data graphically, and perform general computations. I am > interested in making it available and known to an audience that might be > more attuned to this than Sourceforge's users, since I have had no > contact through Sourceforge for several years and no knowledge of anyone > else using experix. I also want to find people interested in > participating in the ongoing development effort. Please give me a little > guidance on how to package and submit it.
Re: Installing Guix on Linode: a how-to
Ok I sent it to guix-patches. https://lists.gnu.org/archive/html/guix-patches/2020-07/msg00294.html July 10, 2020 6:17 PM, jbra...@dismail.de wrote: > I will volunteer to add this to the guix cookbook. If I don't send a patch in > a week or so, then > that means I got lazy and decided not to do it. > > July 8, 2020 7:57 PM, "Gary Johnson" wrote: > >> Can someone add this tutorial to the Guix Cookbook? I've been wondering >> about how to do this for some time now, and it would be great to have it >> saved somewhere obvious like that for future reference. >> >> Thanks, >> Gary >> >> Christopher Lemmer Webber writes: >> >>> Hi! I finally got Guix running on Linode! I'm excited about it! >>> Here's the process (thanks to jackhill on freenode for helping me figure >>> out all the stuff involving the bootloader!). It's very bullet-point'y, >>> but here's the steps I took: >>> >>> - Start with a Debian (or whatever) server. Be sure to add your ssh >>> key for easy login. We'll be using the default distro as a way to >>> bootstrap Guix. >>> - Power it down. >>> - In the Disks/Configurations tab, resize the Debian disk to be >>> smaller, maybe 30GB or something. >>> - "Add a disk", with the following: >>> - Label: "Guix" >>> - Filesystem: ext4 >>> - Set it to the remaining size >>> - Next to the "configuration" that comes with the default image, >>> press "..." and select "Edit", then on that menu add to >>> /dev/sdc the "Guix" label >>> - Now "Add a Configuration", with the following: >>> - Label: Guix >>> - VM Mode: Paravirtualization (the default?? don't know if this matters) >>> - Kernel: Grub 2 (it's at the bottom! This step is *IMPORTANT*) >>> - Block device assignment: >>> - /dev/sda: Guix >>> - /dev/sdb: swap >>> - Root device: /dev/sda >>> - Turn off all the filesystem/boot helpers >>> - Now power it back up, picking the Debian configuration >>> - Once it's booted up, ssh root@ >>> - Run the "install guix form binary installer" steps: >>> - $ sudo apt-get install gpg >>> - $ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg >>> --import - >>> - $ wget >>> https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh >>> - $ chmod +x guix-install.sh >>> - $ ./guix-install.sh >>> - $ guix pull >>> >>> - Now it's time to write out a config for the server. The key stuff is >>> below, save as guix-config.scm: >>> >>> #+BEGIN_SRC scheme >>> (use-modules (gnu) >>> (guix modules)) >>> (use-service-modules networking >>> ssh) >>> (use-package-modules admin >>> certs >>> package-management >>> ssh >>> tls) >>> >>> (operating-system >>> (host-name "my-server") >>> (timezone "America/New_York") >>> (locale "en_US.UTF-8") >>> ;; This goofy code will generate the grub.cfg >>> ;; without installing the grub bootloader on disk. >>> (bootloader (bootloader-configuration >>> (bootloader >>> (bootloader >>> (inherit grub-bootloader) >>> (installer #~(const #t)) >>> (file-systems (cons (file-system >>> (device "/dev/sda") >>> (mount-point "/") >>> (type "ext4")) >>> %base-file-systems)) >>> >>> (initrd-modules (cons "virtio_scsi" ; Needed to find the disk >>> %base-initrd-modules)) >>> >>> (users (cons (user-account >>> (name "janedoe") >>> (group "users") >>> ;; Adding the account to the "wheel" group >>> ;; makes it a sudoer. >>> (supplementary-groups '("wheel")) >>> (home-directory "/home/janedoe")) >>> %base-user-accounts)) >>> >>> (packages (cons* nss-certs ;for HTTPS access >>> openssh-sans-x >>> %base-packages)) >>> >>> (services (cons* >>> (service dhcp-client-service-type) >>> (service openssh-service-type >>> (openssh-configuration >>> (openssh openssh-sans-x) >>> (password-authentication? #f) >>> (authorized-keys >>> `(("janedoe" ,(local-file "janedoe_rsa.pub")) >>> ;; Is this a good idea? Well if you don't add it >>> ;; you have to manually set your user's password >>> ;; via the glish console... >>> ("root" ,(local-file "janedoe_rsa.pub")) >>> %base-services))) >>> #+END_SRC >>> >>> - Replace the following fields in the above configuration: >>> - (host-name "my-server") ; replace with your server name >>> - (name "janedoe") ; replace with your username >>> - ("janedoe" ,(local-file "janedoe_rsa.pub")) ; here too >>> - Note the same above for root, which I don't feel great about, but >>> otherwise you'll need to log in via the linode "glish" console to >>> log in as root and set the user's initial password before you can >>> start using sudo (is there another way around this?) >>> >>> - Save your ssh public key (~/.ssh/id_rsa.pub) as >>> _rsa.pub or whatever in the same directory >>> >>> - Mount the guix drive: >>> $ mkdir /mnt/guix >>> $ mount /dev/sdc /mnt/guix >>> >>> - Due to the way we set things up above, we don't install Grub >>> completely, just our grub configuration file. So we need to copy >>> over some of the other Grub stuff that's already there: >>> $ mkdir -p /mnt/guix/boot/grub >>> $ cp -r /boot/grub/* /mnt/guix/boot/grub/ >>> >>> - Now
Re: Installing Guix on Linode: a how-to
I will volunteer to add this to the guix cookbook. If I don't send a patch in a week or so, then that means I got lazy and decided not to do it. July 8, 2020 7:57 PM, "Gary Johnson" wrote: > Can someone add this tutorial to the Guix Cookbook? I've been wondering > about how to do this for some time now, and it would be great to have it > saved somewhere obvious like that for future reference. > > Thanks, > Gary > > Christopher Lemmer Webber writes: > >> Hi! I finally got Guix running on Linode! I'm excited about it! >> Here's the process (thanks to jackhill on freenode for helping me figure >> out all the stuff involving the bootloader!). It's very bullet-point'y, >> but here's the steps I took: >> >> - Start with a Debian (or whatever) server. Be sure to add your ssh >> key for easy login. We'll be using the default distro as a way to >> bootstrap Guix. >> - Power it down. >> - In the Disks/Configurations tab, resize the Debian disk to be >> smaller, maybe 30GB or something. >> - "Add a disk", with the following: >> - Label: "Guix" >> - Filesystem: ext4 >> - Set it to the remaining size >> - Next to the "configuration" that comes with the default image, >> press "..." and select "Edit", then on that menu add to >> /dev/sdc the "Guix" label >> - Now "Add a Configuration", with the following: >> - Label: Guix >> - VM Mode: Paravirtualization (the default?? don't know if this matters) >> - Kernel: Grub 2 (it's at the bottom! This step is *IMPORTANT*) >> - Block device assignment: >> - /dev/sda: Guix >> - /dev/sdb: swap >> - Root device: /dev/sda >> - Turn off all the filesystem/boot helpers >> - Now power it back up, picking the Debian configuration >> - Once it's booted up, ssh root@ >> - Run the "install guix form binary installer" steps: >> - $ sudo apt-get install gpg >> - $ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg >> --import - >> - $ wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh >> - $ chmod +x guix-install.sh >> - $ ./guix-install.sh >> - $ guix pull >> >> - Now it's time to write out a config for the server. The key stuff is >> below, save as guix-config.scm: >> >> #+BEGIN_SRC scheme >> (use-modules (gnu) >> (guix modules)) >> (use-service-modules networking >> ssh) >> (use-package-modules admin >> certs >> package-management >> ssh >> tls) >> >> (operating-system >> (host-name "my-server") >> (timezone "America/New_York") >> (locale "en_US.UTF-8") >> ;; This goofy code will generate the grub.cfg >> ;; without installing the grub bootloader on disk. >> (bootloader (bootloader-configuration >> (bootloader >> (bootloader >> (inherit grub-bootloader) >> (installer #~(const #t)) >> (file-systems (cons (file-system >> (device "/dev/sda") >> (mount-point "/") >> (type "ext4")) >> %base-file-systems)) >> >> (initrd-modules (cons "virtio_scsi" ; Needed to find the disk >> %base-initrd-modules)) >> >> (users (cons (user-account >> (name "janedoe") >> (group "users") >> ;; Adding the account to the "wheel" group >> ;; makes it a sudoer. >> (supplementary-groups '("wheel")) >> (home-directory "/home/janedoe")) >> %base-user-accounts)) >> >> (packages (cons* nss-certs ;for HTTPS access >> openssh-sans-x >> %base-packages)) >> >> (services (cons* >> (service dhcp-client-service-type) >> (service openssh-service-type >> (openssh-configuration >> (openssh openssh-sans-x) >> (password-authentication? #f) >> (authorized-keys >> `(("janedoe" ,(local-file "janedoe_rsa.pub")) >> ;; Is this a good idea? Well if you don't add it >> ;; you have to manually set your user's password >> ;; via the glish console... >> ("root" ,(local-file "janedoe_rsa.pub")) >> %base-services))) >> #+END_SRC >> >> - Replace the following fields in the above configuration: >> - (host-name "my-server") ; replace with your server name >> - (name "janedoe") ; replace with your username >> - ("janedoe" ,(local-file "janedoe_rsa.pub")) ; here too >> - Note the same above for root, which I don't feel great about, but >> otherwise you'll need to log in via the linode "glish" console to >> log in as root and set the user's initial password before you can >> start using sudo (is there another way around this?) >> >> - Save your ssh public key (~/.ssh/id_rsa.pub) as >> _rsa.pub or whatever in the same directory >> >> - Mount the guix drive: >> $ mkdir /mnt/guix >> $ mount /dev/sdc /mnt/guix >> >> - Due to the way we set things up above, we don't install Grub >> completely, just our grub configuration file. So we need to copy >> over some of the other Grub stuff that's already there: >> $ mkdir -p /mnt/guix/boot/grub >> $ cp -r /boot/grub/* /mnt/guix/boot/grub/ >> >> - Now initialize the Guix installation: >> $ guix system init guix-config.scm /mnt/guix >> >> - Ok, power it down! >> - Now from the linode console, select boot and select "Guix" >> >> - Once it boots, you should be able to log in via ssh! (The server >> config will have changed though.) >> >> - Be sure
Re: wpa-supplicant service configuration. Guile is hard
Hello, I don't believe that network manager is the default tool that guix uses... I think I use whatever is the default and it works for me... Does the normal guix not provide you with a working Internet connection? April 5, 2019 5:41 AM, zna...@tutanota.com (mailto:zna...@tutanota.com) wrote: Hello! I have several questions about wpa-supplicant + dhcpcd services. First of all I do not want to use networkmanager and I usually get Internet working manually with this: # cat startnet #!/bin/sh #connect to wi-fi through wpa_supplicant herd stop wpa-supplicant rfkill unblock wifi wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf sleep 2 dhclient -v wlp2s0 #./startnet I configured services wpa-supplicant and dhcpcd in my config.scm (in attach). Guix reconfigures my system normally, start services wpa-supplicant, networking, dhcpv4-daemon. But these services do not give me Internet. `ping gnu.org` says unknow host. The wpa_supplicant.conf is the same as I use. But dhcpcd.conf is that from one forum. I really do not know what to write there. ip of my router is 192.168.1.1 but the other lines are from forum. Please, let me see how configure dhcpcd if usually I used `dhclient -v wlp2s0`. What to type there? Also is it ok my wpa-supplicant-service-type config? And why I have NetworkManager in my /var/log/messages, is networkmanager living in my system? How to push it out?Apr 4, 2019, 8:36 PM by zna...@tutanota.com (mailto:zna...@tutanota.com): Hi! There actually were wpa-supplicant config twice. The necessary one is in the (modify-services) section. I rest only that one. And it works. But the network is not working, cause dhcpd is not configured. I really want to get around "dhcpcd@.service causes slow startup" https://wiki.archlinux.org/index.php/Dhcpcd (https://wiki.archlinux.org/index.php/Dhcpcd) Would you give some advises how to prevent slow booting? How to set timeout on wpa-supplicant service and dhcpcd that they'll start after slim shows me auth form? My actual manual network start is this: # cat startnet #!/bin/sh #connect to wi-fi through wpa_supplicant herd stop wpa-supplicant rfkill unblock wifi wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf sleep 2 dhclient -v wlp2s0 May be I can use dhclient service or something like that instead of dhcpcd? I attached my current workable config, but dhcpcd is commented there. Also I do not know how to write dhcpd.conf for my case? Apr 4, 2019, 7:26 PM by zna...@tutanota.com (mailto:zna...@tutanota.com): Hello! I am so novice in Guile. I have trouble trying to add wpa-supplicant configuration to my config. I get this error: # guix system reconfigure /etc/config.scm guix system: error: service 'wpa-supplicant' provided more than once Please, let me know where to place my wpa-config lines?
Re: trackpad and icecat trouble
Hmm, only libinput? Thanks for the tip. February 26, 2019 3:23 AM, "Efraim Flashner" wrote: > On Mon, Feb 25, 2019 at 04:10:53PM -0500, Joshua Branson wrote: > >> Hello, >> >> I've been using guix for a while now but half of the time my trackpad is >> un-useable. When my trackpad is un-useable, the trackpad will only >> allow my mouse to move up and down and clicking is disabled. The only >> way to use my trackpad reliably, is to reboot the machine until it >> works. I will attach some lsmod and xorg logs. I am using a Macbook 7,1 >> circa 2010. I'll also of course attach my config. >> >> Any help would be nice. Thanks! > > I don't have a lot of help to offer other than to say I have a Macbook > 4,1 and I have the same issue. I work around it by rebooting as > infrequently as possible, but of course that's not a real soution. If > you do want to spend more time working at it I think we want only the > libinput driver and not the other ones, but I haven't tried actually > working on it so much. > > If you do figure it out there's a number of us on macbooks who would be > very happy. > > -- > Efraim Flashner אפרים פלשנר > GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypted