Guix

317 readers
1 users here now

Guix is an advanced distribution of the GNU operating system developed by the GNU Project

founded 4 years ago
MODERATORS
1
 
 

The survey is available at https://guix.limesurvey.net/

2
 
 

I'd like to change my Guix System to build packages in a different location (`/dev/shm/`) so that they are built on a tmpfs partition to hopefully speed up builds (defaults to `/tmp` which is on the `/` partition on Guix System). The Guix Manual only mentions that this may be done by setting the environment variable `TMPDIR`.

I was able to do this for a system that is configured as a foreign install by modifying the SystemD service file (Guix Mailing List), but I haven't been able to figure out how to modify my `/etc/config.scm` file to do this on Guix System.

3
4
5
 
 

I usually use Psensor to monitor temperatures but it's not available on Guix yet. Can anybody recommend an alternative that does work on Guix ?

6
 
 

From the article

The great promise of Spritely Goblins is to make networking easier and safer. For the past few years, we've focused on developing a toolkit to facilitate this goal. Today, we're proud to announce an incredibly exciting project that will put this toolkit to the test in the largest real-world deployment of Spritely technology so far: a port of the GNU Shepherd system layer to Guile Goblins — the first step in making Guix the object-capability operating system!

7
 
 

Protonvpn has some instructions to connect via openvpn:

https://protonvpn.com/support/linux-openvpn/

Where I'm stuck is step 3, where the guide has you download a dns update script into /etc/openvpn.

Openvpn doesn't reside in /etc so I'm not sure how to handle that. Any advice? Thanks.

8
1
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 
 

Compiling a rust program works correctly, but when running the binary the dynamic linker says libstdc++.so.6: cannot open shared object file: No such file or directory.

The only way I found to get around this in a manifest file is with force accessing gcc:lib which is a private package definition:

(concatenate-manifests
 (list
  (packages->manifest
   (list
    (list (@@ (gnu packages gcc) gcc-13) "lib"))
  (specifications->manifest
   (list
    "coreutils"
    "libgccjit"
    "clang-toolchain"
    "other stuff..."))))

but the @@ operator is kind of a hack since it accesses private definitions in a module and probably isn't mean to be normally used.

Has anyone found a proper way to link to libstdc++.so.6?

9
2
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 
 

Compiling a rust program works correctly, but when running the binary the dynamic linker says libstdc++.so.6: cannot open shared object file: No such file or directory.

The only way I found to get around this in a manifest file is with force accessing gcc:lib which is a private package definition:

(concatenate-manifests
 (list
  (packages->manifest
   (list
    (list (@@ (gnu packages gcc) gcc-13) "lib"))
  (specifications->manifest
   (list
    "coreutils"
    "libgccjit"
    "clang-toolchain"
    "other stuff..."))))

but the @@ operator is kind of a hack since it accesses private definitions in a module and probably isn't mean to be normally used.

Has anyone found a proper way to link to libstdc++.so.6?

10
 
 

I am thinking about moving to Guix, and was wondering what you all think of Shepherd?

What are things you like? What are its shortcomings? Any cool or weird things you wish you knew before using it?

For context, I am currently using Runnit.

11
12
12
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 
 

New blog post on the 100+ Guix packages contributed by AMD, preliminary tests on one the French national supercomputers, and how it can benefit going forward to both AMD and the French and European #HPC environments.

13
 
 

a proposal of automated provisioning of secrets on guix with sops

14
 
 

Old post but better have it in this community

15
 
 

Old post, but better have it in this community

16
7
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 
 

Edit: Turns out for what I'm trying to do (mount luks encrypted raid after start up) only needs the device mapping for the raid drive and not a file-system object.

So I luks encrypted the raid and call a script to open the vault and mount it when I need to.


In my system config file I added a raid drive like so:

(mapped-devices (list (mapped-device
                                     (source (uuid
                                                  "205e5caa-694f-4457-a2a1-8affa3536e75"))
                                     (target "guix")
                                     (type luks-device-mapping))

                                  (mapped-device
                                     (source (list "/dev/sdb1" "/dev/sdc1"))
                                     (target "/dev/md0")
                                     (type raid-device-mapping))))

(file-systems (cons* (file-system
                                  (mount-point "/")
                                  (device "/dev/mapper/guix")
                                  (type "ext4")
                                  (dependencies (list (list-ref mapped-devices 0))))

                               (file-system
                                  (mount-point "/mnt/nas")
                                  (device "/dev/md0")
                                  (type "ext4")
                                  (mount? #f)
                                  (dependencies (list (list-ref mapped-devices 1)))) %base-file-systems)))

I'd now like to luks encrypt the raid drive but I'm not sure how to go about doing it. Do I simply make a another mapped-device object, specifying the raid drive uuid and "/dev/md0" as the target:

(mapped-device
   (source (uuid
                {raid uuid}))
                (target "/dev/md0")
                (type luks-device-mapping))

and then pass that as a dependency to the raid file system object?

Thanks

17
 
 

If you need to run Grafana on the Guix System this post is the right place. In this example we'll setup Grafana to read metrics from the same machine it's run upon, but you can adapt this to use a remote datasource.

18
19
 
 

I'm developing a Guix channel with a library of community maintained Shepherd Services for self-hosted software that is not yet guixable.

For now there are Grafana, Prometheus and Conduit but it would be amazing if you'd like to contribute some services or even just test the existing ones and report any bug.

20
 
 

TL;DR: Guix Packager is a new web user interface for defining Guix packages, which should help make Guix more approachable!

You can check out the web app here.

Project repository here.

21
 
 

Compare this to this 2020 blog post, which had the source binary at 60MiB

https://guix.gnu.org/blog/2020/guix-further-reduces-bootstrap-seed-to-25/

22
5
(lemmy.ml)
submitted 1 year ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 
 

I would like to go for the old OPENSTEP/NEXTSTEP desktop on Guix-installed device. How do I go about configuring it? Working on Guille configs for tweaking the desktop hasn't been that easy for me on Guix, as there's no proper equivalent of NixOS for the same.

23
8
(lemmy.ml)
submitted 1 year ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 
 

Funny how the NixOS manual helped me more than the ones by Guix, especially when it came to shell setup stuffs like partitioning disk and writing Guile configurations from scratch.

It took me two days to finish the entire setup. The default configs are either pretty bloated or the servers are quite far from me. And building the Linux kernel from scratch to support propreitary Realtek WiFi drivers just took a lot of time. I guess asking a university in China, India or SEA to host a substitute might be quite helpful to those living in Asia.

Now I have two systems: one running on NixOS and other on Guix. Transactional package managers all day 😄 .

24
 
 

I thought this was really cool: it's backed by a non-profit and one of their supported distros is Guix System!

25
2
(lemmy.ml)
submitted 1 year ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 
 

Permanently Deleted

view more: next ›