r/GUIX • u/Krocheah • 2d ago
Advantages over Nixos
Does Guix have advantages over Nixos while I want to use it with linux kernel? I play video games so I will also install steam and so I will use nonguix channel.
r/GUIX • u/Krocheah • 2d ago
Does Guix have advantages over Nixos while I want to use it with linux kernel? I play video games so I will also install steam and so I will use nonguix channel.
r/GUIX • u/Zenalia-- • 2d ago
r/GUIX • u/nightsofknee • 2d ago
I (stupidly) ran “guix system delete-generations” while having some connection issues so it borked all my generations. Now when I boot the live installer to fix it the network connection works until I chroot in to the system.
I can successfully run “guix pull && guix update” from the live image, but after chroot-ing into the old system the network will stop working. When I run “ping 1.1.1.1” it won’t send packets, it simply says “network is unreachable.” When I ctl+d out of the chroot the issue persists. Is there anything I can do? I would like to avoid having to wipe the drive and start from scratch.
I decided to seek help here first because guix has a few differences when using chroot vs other distros.
r/GUIX • u/Tricky-Engineer-9755 • 3d ago
Libreboot 26.11 now uses UEFI exclusively so I installed my favourite OS again with UEFI and an encrypted root, but an unencrypted ESP parition. I am concerned about Evil Maid and I like computing fun. How would I do secureboot on a custom kernel and on grub?
On legacy BIOS I would just use the Full Disk Encryption... now that is not possible.
r/GUIX • u/SandPrestigious2317 • 6d ago
r/GUIX • u/cristiancmoises • 11d ago
Hey everyone!
I've been working on Guix-Installer, a project aimed at making GNU Guix easier to install and configure, whether you're completely new to Guix or already familiar with it.
(Yeah... now do you can easyly install GNU GUIX from Windows, Debian, Fedora, Any....)
I've been putting more work into customization lately, particularly around channels, window managers, kernels, and system configuration.
As much as I love GNU Guix, I think we can all agree that getting a system configured exactly the way we want sometimes takes a fair amount of work. That's not necessarily a bad thing, since the flexibility is one of Guix's biggest strengths, but I think there's room to make the initial experience a little smoother.
Here's what I've been focusing on:
Channels and package sources
Guix channels are one of my favorite features of the system. They let us extend Guix without having to depend entirely on the official package collection.
I'm working toward making it easier to manage things like:
Official GNU Guix channels and packages
Nonguix, especially for hardware that needs additional firmware or drivers
Custom and community-maintained channels
Reproducible channel configurations
Binary substitutes and alternative substitute servers
The idea is to make these options easier to configure while still giving users full control over their systems.
Window managers and desktop environments...
This is another area I'm particularly interested in.
Some people want a complete desktop environment that's ready to use, while others prefer a lightweight setup with just a window manager and a few essential applications.
I'd like Guix-Installer to accommodate both approaches.
Some of the environments and configurations I'm focusing on include:
Sway and other Wayland compositors
i3 and lightweight tiling window managers
Traditional desktop environments
Minimal desktop installations
X11 and XLibre configurations
I personally use Sway and have also been working with XLibre on GNU Guix, so I've been spending quite a bit of time experimenting with different setups.
Kernels and hardware compatibility
Anyone who has tried installing Guix on relatively new hardware probably knows why this matters.
Linux-libre is an important part of the GNU Guix philosophy, but I also understand that some users need alternative kernels or additional firmware to get their hardware working properly.
I'm interested in making kernel-related configuration more accessible, including:
GNU Linux-libre
Alternative kernels available through additional channels
Hardened kernel configurations
Hardware compatibility and firmware options
Different security and performance preferences
For context, my own machine runs GNU Guix with a hardened Linux kernel, and I've been experimenting with different configurations for quite some time.
I want users to have a clearer understanding of the available options and their trade-offs.
One thing I definitely don't want to change is what makes Guix special...
The declarative configuration model, reproducibility, and ability to roll back changes are some of the main reasons I use it in the first place.
The goal isn't to hide how Guix works behind a tool that does everything magically.
I'd much rather help people get a working system while still allowing them to inspect, modify, and learn from their configurations.
After all, understanding your own system is part of the fun!
GNU Guix has been my daily operating system for a while now, and I've become increasingly involved in its ecosystem.
Besides working on Guix-Installer, I've been spending time maintaining packages, experimenting with custom channels and kernels, working with XLibre, and setting up binary substitute infrastructure (https://farm.securityops.co).
It's been a great learning experience, and the more I use Guix, the more I appreciate its design and the work the community puts into it.
I also think Guix deserves to be discovered by more people. There are plenty of Linux users who would probably enjoy its approach to package management and system configuration but never get past the initial installation process.
If this project can make that first experience a little easier, I'll consider it worthwhile.
Guix-Installer on Codeberg:
https://codeberg.org/berkeley/guix-install
Substitute Server (with Build Farm :D ):
https://substitutes.securityops.com.br
SecurityOps Channel (my custom Guix channel featuring numerous packages updated to their latest versions):
https://git.securityops.com.br/cristiancmoises/securityops-channel
Mirror: https://codeberg.org/berkeley/securityops-channel
And yes, I'm a sole maintainer+developer.
Thanks to everyone contributing to GNU Guix and keeping free software moving forward.
Happy hacking!
r/GUIX • u/juipeltje • 11d ago
I posted about this earlier and thought it was fixed, but now that i finally have Guix all set up on my server, i just tried doing a guix pull and... nothing happens when it offloads. The only error i get is that it times out after an hour, seemingly unable to establish a connection. This is very weird to me, because when i run guix offload test it successfully completes the test. Also, when i run guix offload status, it reads the information like host name and free disk space correctly, so in that case it does seem to find the build-machine without issue. I also tried disabling the firewall, that didn't work either. My build-machine configuration is declared in this file. I was hoping someone could spot what i'm doing wrong, cause i'm starting to run out of ideas. I've compared my configuration to other build-machine configurations i could find online and couldn't find a difference. The only thing i can think of is that i'm using a dedicated user for offloading. Does it need to be in any specific group to be able to offload? I already tried adding it to the users group but that didn't work either. I've also added the public keys for guix to to all of the machines in my configuration, and the public ssh keys are in the authorized_keys file of the offload user.
r/GUIX • u/SandPrestigious2317 • 13d ago
r/GUIX • u/Tricky-Engineer-9755 • 12d ago
My graphical session is DWM, X11-display is running fine, I do not understand why unclutter-service-type is failing.
https://imagepaste.org/i/2zf2rpnv.png
Any help is appreciated...
r/GUIX • u/Zenalia-- • 14d ago
Enable HLS to view with audio, or disable this notification
So I did some work to make the experience more cohesive especially with Nvidia too, and now I've reached the point that I want to share the work I did to everyone to make guix more friendly/accessible to users.
I would like to hear your thoughts and tips on how to make it happen.
Here is my guix-system configuration.
https://github.com/JianZcar/guix-system
r/GUIX • u/Einkclock • 16d ago
Got llama.cpp with ROCm running on a Ryzen AI 9 HX 370 (Radeon 890M, gfx1150) on Guix System with the nonguix kernel, without packaging the ROCm stack. I use the prebuilt binaries from lemonade-sdk/llamacpp-rocm (they bundle the ROCm runtime) inside an FHS container:
sh
guix shell --container --emulate-fhs --network \
--expose=/dev/kfd --expose=/dev/dri --expose=/sys \
--share=$HOME/models \
glibc gcc-toolchain coreutils bash \
-- env HSA_CU_MASK=0:0-11 \
./llama-server --models-preset $HOME/models/models.ini --models-max 1 -ngl 99 -ub 128 --port 8081Notes:
--expose=/sys is required, otherwise ROCm reports “no ROCm-capable device”.
Your user needs access to /dev/kfd (usually the render or video group).
HSA_CU_MASK=0:0-11 limits inference to 12 of the 16 CUs. The remaining 4 stay free for the compositor and browser, so niri and LibreWolf (even with GPU WebRender) stay smooth under full inference load. With Vulkan the whole desktop got laggy.
Results with Gemma 4 26B A4B (Q4): prompt processing much faster than Vulkan (probably related to newer llama.cpp), generation ~30 t/s vs ~35 t/s on Vulkan.
Uses nonguix for firmware and prebuilt ROCm binaries, so not FSDG-free. Proper packaging would be nicer, this is a pragmatic setup.
I use this setup with pi and Gemma 4 for software on demand, fully local, independent from web AI.
r/GUIX • u/Einkclock • 18d ago
If you have a modern wireless Razer mouse like the Razer Viper V3 HyperSpeed (`1532:00b8`) and don't want to mess with OpenRazer out-of-tree kernel modules, Python daemons, and D-Bus services on GNU Guix, you actually don't need any of that. If you just want to control DPI, polling rate, idle timeout, and read battery percentage, you can talk to the USB receiver directly from userspace using `libusb` (`rusb` in Rust) via standard 90-byte Razer HID feature reports. Instead of waiting for upstream driver support or maintaining a full repo, I just had Gemini generate a tiny ~200-line single-file Rust CLI for `1532:00b8`. It detaches the kernel driver on interface `0` for ~25ms, sends the 90-byte HID control transfer, and re-attaches it. Zero background daemons, instant execution.
If you have the Viper V3 HyperSpeed (or another wireless Razer mouse—just check your Product ID via lsusb), you can ask any decent LLM to generate the Rust CLI with rusb = { version = "0.9", features = ["vendored"] } and clap, using these protocol parameters:
USB Control Transfer: HID_REQ_SET_REPORT (0x09, request type 0x21) and HID_REQ_GET_REPORT (0x01, request type 0xA1), value 0x0300, interface 0, 90-byte buffer, byte 88 is XOR checksum of bytes 2..88.
Transaction IDs: Try 0x1f (HyperSpeed wireless receiver) and 0x3f as fallback.
DPI (Set/Get): Class 0x04, ID 0x05 / 0x85, size 0x07 ([varstore, dpi_x_hi, dpi_x_lo, dpi_y_hi, dpi_y_lo, 0, 0]).
Polling Rate (Set/Get): Class 0x00, ID 0x05 / 0x85, size 0x01 (0x01 = 1000Hz, 0x02 = 500Hz, 0x08 = 125Hz).
Battery Level (Get): Class 0x07, ID 0x80, size 0x02 (response byte 9 is 0..255).
Idle Timeout (Set/Get): Class 0x07, ID 0x03 / 0x83, size 0x02 (seconds in big-endian, 60–900s).
r/GUIX • u/Tricky-Engineer-9755 • 22d ago
Basically since forever now, I've been looking for a way to get boot up penguins, some time ago I finally figured out how to custom set %base-initrd to allow for the installation of a custom kernel. However the same kernel would work on Gentoo and show penguins and hide them on Guix jeez it drove me mad and led to feverent distrohopping.
Turns out all it took was a bit of guile to define the kernel arguments and leave quiet out of it. Now I finally have my penguins and my distrohopping (fingers crossed) addiction is over...
You can find my system config at https://codeberg.org/gnufairy/General-Dotfiles.git (in the Guix-System folder, config.scm)
EDIT: Hi, this repo is exceedingly disorganized, my main config file is under Guix-System folder, called config.scm
r/GUIX • u/Jake1055 • 24d ago
I am still getting my bearings with Guix. I have an idea for the direction I'd like to go in the long term, but I need some guidance on how to approach it.
My goal is to write some Scheme that uses G-Expressions to initiate building a qcow2-gpt image from an operating-system definition.
Then, I would like to extend that Scheme so that it can:
- Copy the resulting image onto a NFS share that my proxmox node also has read access to
- Make API calls to the proxmox node to create a VM (if it doesn't exist), import the image as a new disk, update the boot order, and start up the new VM
Once this is working successfully, my hope is that I could have some CI/CD solution trigger automated deployment based on composite records which contain an operating-system, an IP/hostname for a proxmox node's management interface, and which VMID to squat.
I was hoping to ask the following:
The System Crafters video suggested having a dedicated folder in your dotfiles repo for packages and services, along with one for generic "files".
If we were following that suggestion, where should I keep the Scheme code that implements all of this? Should it all be kept within one package? Should it be a change to the Guix code itself (e.g. an extension to guix deploy)?
2. Please share if you know of any good reference materials for network programming in Scheme, or if you would recommend a specific library. I am familiar with using sockets in C.
r/GUIX • u/Zenalia-- • 25d ago
Enable HLS to view with audio, or disable this notification
First time on guix and its really fun to tinker, and I want to express my gratitude towards this wonderful distro.
Here is my guix config for those are interested
Hello! I’m looking to switch to a declarative system. I’ve previously used standard GNU/Linux distributions. NixOS seemed a bit too difficult for me, which is why this distribution caught my eye. Could you share your experience using Guix as a desktop OS? What should I keep in mind, and what advice would you offer? Also, how does it handle non-free (proprietary) software, and will it be sufficient for everyday tasks—like web browsing, occasional gaming, using messaging apps (such as Telegram Desktop), and so on?
r/GUIX • u/jamesfarted09 • 27d ago
r/GUIX • u/copingbear • 29d ago
I recently shared a project that helps you install GNU Guix on older Apple Silicon Macs: https://github.com/hnarayanan/hello-guix
Today I made a video running through the installation. I hope you enjoy it. :)
r/GUIX • u/copingbear • Oct 24 '26
I’m excited to share the first release of Hello Guix, a GNU Guix installer for Apple Silicon Macs.
It’s built on the work of Asahi Linux, the Asahi Guix Channel and GNU Guix.
Please do try it out if you’re curious and have an old Mac handy. :)
r/GUIX • u/Wooden-Ad6265 • Oct 23 '26
I am using guile-lsp-server, and it just crashes mid-edit of my guix home file. I don't know why.
(use-package eglot
:hook ((bash-ts-mode
c-ts-mode
c++-ts-mode
python-ts-mode
html-mode
html-ts-mode
css-ts-mode
js-ts-mode
typescript-ts-mode
tsx-ts-mode
json-ts-mode
yaml-ts-mode
tex-mode
LaTeX-mode
toml-ts-mode
systemd-mode
fish-mode
scheme-mode) . eglot-ensure)
:bind (:map eglot-mode-map
("C-c l a" . eglot-code-actions)
("C-c l f" . eglot-format-buffer)
("C-c l r" . eglot-rename)
("C-c l d" . eldoc)
("C-c l R" . eglot-reconnect)
("C-c l q" . eglot-shutdown)
("C-c l h" . eglot-inlay-hints-mode)
)
:custom
(eglot-autoshutdown t)
(eglot-sync-connect nil)
(eglot-watch-files-outside-project-root nil) ; stop pyright from watching irrelevant directories
:config
(add-to-list 'eglot-server-programs
'(scheme-mode . ("sh" "-c" "ulimit -v 3000000; exec nice -n 10 guile-lsp-server")))
(add-to-list 'eglot-server-programs
'(toml-ts-mode . ("tombi" "lsp")))
(add-to-list 'eglot-server-programs
'((html-mode html-ts-mode) . ("vscode-html-language-server" "--stdio")))
(add-to-list 'eglot-server-programs
'(systemd-mode . ("systemd-lsp")))
(add-to-list 'eglot-server-programs
'(fish-mode . ("fish-lsp" "start"))))
This is my eglot config.