1
7
submitted 2 weeks ago by Doom4535@lemmy.sdf.org to c/guix@lemmy.ml

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.

2
15
3
8
submitted 2 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml
4
8
submitted 5 months ago by PublicLewdness@lemmy.ml to c/guix@lemmy.ml

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 ?

5
18
The goblin and the shepherd (spritely.institute)
submitted 6 months ago by callcc@lemmy.world to c/guix@lemmy.ml

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!

6
9

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.

7
9
submitted 8 months ago by wer2@lemm.ee to c/guix@lemmy.ml

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.

8
13
submitted 8 months ago by mrh@mander.xyz to c/guix@lemmy.ml
9
11
submitted 9 months ago* (last edited 9 months ago) by csantosb@lemmy.ml to c/guix@lemmy.ml

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.

10
6
submitted 10 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml

a proposal of automated provisioning of secrets on guix with sops

11
16
submitted 10 months ago by kixik@lemmy.ml to c/guix@lemmy.ml

Old post but better have it in this community

12
12
submitted 10 months ago* (last edited 10 months ago) by kixik@lemmy.ml to c/guix@lemmy.ml

Old post, but better have it in this community

13
8
submitted 10 months ago* (last edited 10 months ago) by HulkSmashBurgers@reddthat.com to c/guix@lemmy.ml

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

14
13
submitted 10 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml

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.

15
8
Tame Docker selfhosting with Guix (fishinthecalculator.me)
submitted 10 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml
16
11
submitted 11 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml

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.

17
15
submitted 11 months ago by aurtzy@discuss.tchncs.de to c/guix@lemmy.ml

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.

18
15
submitted 1 year ago by tetris11@lemmy.ml to c/guix@lemmy.ml

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/

19
8
submitted 1 year ago by worldofgeese@lemmy.world to c/guix@lemmy.ml

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

20
7
21
4
submitted 1 year ago by PublicLewdness@lemmy.ml to c/guix@lemmy.ml

I had installed Guix with Mate as my DE but a big part of my desktop experience is having Plank as my dock. I don't see it in the package list on the Guix website. Am I mistaken or is Plank not usable on Guix ? Any recomendations for alternatives ?

22
1
submitted 1 year ago by worldofgeese@lemmy.world to c/guix@lemmy.ml

My error message when trying to run minikube from a guix shell is bash: /gnu/store/ixry3pdrrb52mdiypmlrdn19c7gcc5r4-minikube-1.31.2/bin/minikube: No such file or directory

According to ldd and file, it looks like everything is hunky dory as far as where all my linkers are pointing. I'm also including an strace further below. I've run out of options for debugging this and would welcome any feedback and suggestions!

ldd shows what looks like clean RPATHs:

 /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 (0x00007f9299546000)
	libpthread.so.0 => /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libpthread.so.0 (0x00007f9299541000)
	libresolv.so.2 => /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libresolv.so.2 (0x00007f929952e000)
	/lib64/ld-linux-x86-64.so.2 => /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/ld-linux-x86-64.so.2 (0x00007f9299744000)

Here's file:

/gnu/store/xhyv7k87gy9k368yrv6faray37z615cr-minikube-1.31.2/bin/minikube: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/ld-linux-x86-64.so.2, Go BuildID=aBEWfkldQzf4mlUsITym/a6aHGcy9omlZPRTvR8ta/1-lUpI-DPce979zTpJQy/jMuF_0TfmkRW2e3NFst2, not stripped

And strace:

Error:
strace /gnu/store/xhyv7k87gy9k368yrv6faray37z615cr-minikube-1.31.2/bin/minikube
execve("/gnu/store/xhyv7k87gy9k368yrv6faray37z615cr-minikube-1.31.2/bin/minikube", ["/gnu/store/xhyv7k87gy9k368yrv6fa"...], 0x7ffc5f304810 /* 109 vars */) = 0
brk(NULL)                               = 0x50b7000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2daf26c000
***
SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x400318}
***
+++ killed by SIGSEGV +++
Segmentation fault
    (define-module (worldofguix packages minikube)
      #:use-module (guix packages)
      #:use-module (guix download)
      #:use-module ((guix licenses) :prefix license:)
      #:use-module (guix gexp)
      #:use-module (gnu packages gcc)
      #:use-module (gnu packages commencement)
      #:use-module (nonguix build-system binary))

    (define-public minikube
      (package
       (name "minikube")
       (version "1.31.2")
       (source (origin
                 (method url-fetch)
                 (uri (string-append "https://github.com/kubernetes/minikube/releases/download/v" version "/minikube-linux-amd64"))
                  (sha256
                   (base32
                    "16vi7b6vkapc2w3f2yx8mzany5qqvrgvlshc58dambcn2q2hra48"))))
        (build-system binary-build-system)
        (inputs `((,gcc "lib")
              ,gcc-toolchain))
        (arguments
         (list
          #:substitutable? #f
          #:patchelf-plan
           #~'(("./minikube"
              ("gcc" "gcc-toolchain")))
          #:install-plan
          #~'(("minikube" "bin/"))
          #:phases
          #~(modify-phases %standard-phases
              (replace 'unpack
                (lambda _
                  (copy-file #$source "./minikube")
                  (chmod "minikube" #o644)))
              (add-before 'install 'chmod
                (lambda _
                  (chmod "minikube" #o555))))))
        (home-page "https://minikube.sigs.k8s.io")
        (synopsis "minikube is a tool for running local Kubernetes clusters.")
        (description "minikube implements a local Kubernetes cluster. minikube's primary goals are to be the best tool for local Kubernetes application development and to support all Kubernetes features that fit.")
        (license license:asl2.0)))

    minikube
23
3

Does anyone have experience in flashing the Pinebook Pro EMMC with Guix? The images provided on the website don't boot on my SDCard with TowBoot.

I flashed it multiple times with

dd if=guix-latest.img of=/dev/mmcblkX bs=4M status=progress oflag=sync

Am I supposed to do something specific?

24
10
25
7
submitted 1 year ago by hitwright@lemmy.world to c/guix@lemmy.ml

Hey all. Can anyone recommend me a path or some resouces how I could more learn about Guix? I know packaging is a large part of Guix, yet the information on how to package, or contribute in providing packages seems little difficult to find. Thank you.

view more: next ›

Guix

316 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