Guix
- Psensor Alternative
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 ?
- The goblin and the shepherd
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!
- How to connect to protonvpn via openvpn
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.
- Ideal way to package Guix repository with Guile expression?
I'm not sure if this is the right term to use, but in Nix, there's a
shell.nix
file to access the shell in an isolated, pure environment. I have a repository, basically a web app that uses NodeJS. I want to be able to invoke a new shell usingguix shell
. What is the similar equivalent in Guix? Is itguix.scm
ormanifest.scm
? - Hardened kernel for Guix?
I am looking forward to hardening my system, but I'm not sure how I should go about it. Any advice?
- How is Shepherd?
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.
- How do I get rid of `Advanced Network Configuration` and `Print Settings`?
For some reason, the app
nm-connection-editor
(Advanced Network Configuration) exists on my GNOME, but I don't even use it. I suspect that it's a part of package nm-applet. I also havesystem-config-printer
(Print Settings, I think?) andsystem-config-printer-applet
, but both of them don't work properly.I want to remove both these apps, as I don't use them, but they've been introduced by services. How should I proceed?
- Guix on the Framework 13 (AMD)wingolog.org guix on the framework 13 amd — wingolog
wingolog: article: guix on the framework 13 amd
- Service host-name running with value #<unspecified>
I'm a Guix newbie, and I'm also not making use of Guix Home, so for the time being, I'm forced to build the entire
config.scm
from scratch. However, what I've noticed while building is that I get this weird log:console shepherd: Service host-name running with value #<unspecified>.
What could this be? I'm pretty sure I've set the value of host in the configuration file.
scheme ... (host-name "hp") ...
- How to use Pipewire with GNOME on Guix?
It seems to me that there's no service for pipewire available at the moment. How do I configure pipewire to run with GNOME, ideally with pipewire-pulse?
- Nix + Guix could have been an amazing combo, but in reality, it is an absolute disaster, at least for now
Currently, I'm on a Guix System, and I must say, using Nix with it, or vice-versa, is a terrible idea because of one simple reason: contamination of environment variables:
PATH
,LD_PRELOAD
andLD_LIBRARY_PATH
, just to name a few. Most of my Flakes are useless on the Guix System, and I can imagine the same for Guix expressions on NixOS. 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.
- Looking for a minimal WM setup
Here is my current configuration:
**config.scm**
```scheme (use-modules (gnu) (gnu packages admin) (gnu packages certs) (gnu packages fonts) (gnu packages gnome) (gnu packages package-management) (gnu packages text-editors) (gnu packages terminals) (gnu packages wm) (gnu packages xdisorg) (nongnu packages linux) (nongnu packages mozilla) (nongnu system linux-initrd))
(use-service-modules desktop networking ssh xorg)
(operating-system (host-name "guix") (kernel linux) (initrd microcode-initrd) (firmware (cons* realtek-firmware %base-firmware)) (timezone "Asia/Kolkata") (locale "en_IN.utf8") (keyboard-layout (keyboard-layout "in" "en"))
(bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (targets '("/boot"))))
(file-systems (cons* (file-system (device (file-system-label "guix")) (mount-point "/") (type "btrfs")) (file-system (device (uuid "C938-C7C0" 'fat)) (mount-point "/boot") (type "vfat")) %base-file-systems))
(swap-devices (list (swap-space (target (uuid "4550d1a4-3566-47a2-a3bc-8d77c87acc62")))))
(users (cons (user-account (name "guix") (comment "Guix System") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts))
(packages (cons* gnome-tweaks kakoune nss-certs tree nix firefox font-google-noto font-google-noto-emoji font-google-noto-sans-cjk font-google-noto-serif-cjk font-awesome %base-packages))
(services (cons* (service openssh-service-type) (service bluetooth-service-type) (service xfce-desktop-service-type) (modify-services %desktop-services (guix-service-type config => (guix-configuration (inherit config) (substitute-urls (cons* "https://substitutes.nonguix.org" %default-substitute-urls)) (authorized-keys (cons* (local-file "./signing-key.pub") %default-authorized-guix-keys)))))))) ```
I am currently on a low-end laptop, as my device has broken down. It runs on 4GB of RAM, and GNOME is pretty heavy on this device. I am looking for a custom WM setup based on Wayland preferably (river, hyprland, sway or dwl). I do not want any fancy shortcuts for terminal or any other app. I want to be able to use a launcher and toggle between workspaces. I want snapping and multi-window gestures just like how it works on GNOME. I would appreciate shortcut icons for shutdown, wifi and sound. And last but not the least, I want to be able to control brightness and light/dark mode.
Can anyone recommend me how I can start setting up a WM in this config file? What do I need to add, apart from the WM itself?
- fishinthecalculator.me Secrets management with SOPS Guix -- fishinthecalculator
My personal space on the web. Mostly about FOSS and technological autonomy.
a proposal of automated provisioning of secrets on guix with sops
- podiki: How I Built My New Linux Gaming Desktop In 2021 With Amd Cpugpu And Gnu Guix
Old post, but better have it in this community
- How to luks encrypt raid drive?
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
- fishinthecalculator.me Monitor your Guix System with Grafana -- fishinthecalculator
My personal space on the web. Mostly about FOSS and technological autonomy.
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.
- Tame Docker selfhosting with Guixfishinthecalculator.me Tame Docker selfhosting with Guix -- fishinthecalculator
My personal space on the web. Mostly about FOSS and technological autonomy.
- ~fishinthecalculator/gocix - This project aims at implementing a Guix native experience for services that are not yet guixable
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.
- Write package definitions in a breeze — GNU Guix Blogguix.gnu.org Write package definitions in a breeze — 2023 — Blog — GNU Guix
Blog posts about GNU Guix.
- The Full-Source Bootstrap: Building from source all the way down — 2023 — Blog — GNU Guixguix.gnu.org The Full-Source Bootstrap: Building from source all the way down — 2023 — Blog — GNU Guix
Blog posts about GNU Guix.
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/
- ***
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 😄 .
- “Simple, fast, private compute” (VPS) that runs Guix System
I thought this was really cool: it's backed by a non-profit and one of their supported distros is Guix System!
- ***lemmy.ml Help with understanding why this simple Guile program isn't working as expected - Lemmy
I’m trying out this simple C program [https://www.gnu.org/software/guile/manual/guile.html#Linking-Guile-into-Programs] that uses libguile. The hostname on my distro is called “guix”, but for some reason, it shows #f, which I’m assuming is the boolean value “false”, when I build and run the program ...
Permanently Deleted
- Any Way to Use Plank on Guix ?
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 ?
- Diagnosing `No such file or directory` when writing a package
My error message when trying to run
minikube
from aguix shell
isbash: /gnu/store/ixry3pdrrb52mdiypmlrdn19c7gcc5r4-minikube-1.31.2/bin/minikube: No such file or directory
According to
ldd
andfile
, it looks like everything is hunky dory as far as where all my linkers are pointing. I'm also including anstrace
further below. I've run out of options for debugging this and would welcome any feedback and suggestions!ldd
shows what looks like cleanRPATH
s:console /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
```scheme (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 ```
- Guix on Pinebook Pro
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?
- How would you recommend learning Guix?
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.
- Question About Updating
I recently installed Guix in hopes of learning to use it. I wanted to update the system and gathered from the reference card that the proper command was "guix pull". My issue is that while no error message is given this didn't seem to update anything after. One thing that makes me think this is that I'm still on the 6.0.10 kernel as I was before. Am I doing this wrong ?
- Help with getting custom module+package to supply newer package than what's in the Guix Channel.
Hello. I am new to the Guix GNU+Linux distro. And I'm trying to get the latest version of Anki (2.1.65). However, the newest version is not in the Guix channel. I'm reading here that a simple edit to the education.scm file (the version var) would fix it. Unfortunately, the education.scm file in a Guix system is readonly. Unless they update the code, my only option is to make a custom module and package to supply a newer version. Though, I don't know how to do that (I'm a noobie). I just need help on figuring that out. Any help is appreciated.
- Invoking guix locate
just decided to share this information on a cool recently released command that i have been eager to see for a while and hopefully jumpstart things on the guix community here!
- Using emacs packages from Guix in Doom Emacs
How can I prevent Doom Emacs from pointlessly downloading emacs packages whenever I update it and instead load the ones provided by Guix?
I have this in my Doom configuration but I have no idea about how to test if it's working, and anyway Doom still dowloads i.e. undo-tree which I installed in my Guix profile