/r/GUIX
GNU Guix is a purely functional package manager, and associated free software distribution, for the GNU system.
GNU Guix is a purely functional package manager, and associated free software distribution, for the GNU system. In addition to standard package management features, Guix supports transactional upgrades and roll-backs, unprivileged package management, per-user profiles, and garbage collection.
A user-land free software distribution for GNU/Linux comes as part of Guix.
For assistance, see GNU Guix Official Help, where you can find:
/r/GUIX
Hello everyone I was wondering if there is actually a way to fix this problem I have been encountering every time I try out guix.
For the third time this year I have tried to install guix on my Lenovo Ideapad s145-15IIL with 8GB of ram and i5 CPU. I followed the installation instructions from System Crafters videos and yes the system gets installed but when I try to install Firefox it gets stuck on "build phase for hours" then it bring back an error... I did search around and it seems it's because it ran out of memory...
Now is there a work around to this problem, because I am really interested in trying guix specifically... I want to expand my programming language base by using guile so I'd highly appreciate any advice and help.
Hello!
I'm feeling kinda stupid because I can't understand g-exps.
Say, I have this piece in my system config:
(service nginx-service-type
(nginx-configuration
(server-blocks
(list (nginx-server-configuration
(listen '("80"))
(server-name '("www.example.com"))
(root "/srv/www")
(raw-content
(list
"# hello world"
(format #nil "# FILE: ~a" path-to-built-text-file))))))))
How do I make this work? What do I replace path-to-built-text-file
with?
I tried stuff like
(define (my-file)
(gexp->derivation "my-file"
#~(begin
#$(plain-file "my-file.txt" "content"))))
but (my-file)
returns a procedure (a monadic function?) so it doesn't do what I want it to do.
I think the problem here is that I'm treating g-exps stuff like template substitutes which they aren't.
I'm kinda lost and I don't even know what question I should be asking. Can maybe someone give me an actual working snippet for this to work so I can move from there?
Hello! Could anyone help me create a config to install GuixOS with nonguix? I tried making a config but it fails, I just can’t figure out how to make it work.
I tried following systemcrafters’s tutorials, but I just can’t get it to work and the Guix documentation doesn’t help me much.
I would really like to give guix a shot, I really like it in theory, I also just started using emacs again and I’m sure if I don’t try to commit to using it, I will most likely give up on it. If you have any resources I could use those would also be very welcome!
Hello Guix.
I'm trying to install GuixSD using the graphical installer, but it ends up with this error. Is it possible to do something about this?
Howdy!
I've started to use Emacs (again) after many years as a VS Code user. At the same time I became a GUIX user. Love it so far, but there is one thing I feel a bit unsure about: As the title says, what do you think is the most rational way to install Emacs packages?
I'm thinking that it's probably wise to just install Emacs packages through the default Emacs package manager because it makes life easier if I want to use the same setup on other non-GUIX or even non-Linux machines. On the other hand, it feels quite elegant to just configure everything with GUIX.
What do you think?
(This is of course not an important issue, but you know, one gotta bike-shed.)
hello!
i've been trying to install Guix System so i can dual-boot it alongside Void Linux, but despite my attempts i never got to do it.
using the graphical installer, the partioning i do is that i take a partition i previously made into free space with gparted, and would write the Guix system on this free sapce partition. i would mount it as /. with my experience with Void Linux, i wanted to make /boot/efi too but apparently i couldn't. when i tried this on a virtual machine and to install only Guix, it said there was already /boot/efi during the installation process and so i guessed this was a bad idea. should i try this again with my Void system? because i already have a /boot/efi, so i'd worry about making another /boot/efi from the Guix installer that would overwrite Void's or something along those lines. i know its probably an odd worry but i don't really know how i could do this in such a way that i can easily revert back if needed, even with snapper / btrfs. i would've liked using the full disk install but i can't do this sadly
do you have tips on installing Guix as a dualboot? i feel like i'm overcomplicating things for myself :(
cheers everyone!
Everytime I invoke 'guix pull', this message pops out:
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel: guix
Computing Guix derivation for 'x86_64-linux'...
-warning: 'postgresql-11' is deprecated
warning: 'postgresql-11' is deprecated
warning: 'postgresql-11' is deprecated
warning: 'postgresql-11' is deprecated
warning: 'postgresql-11' is deprecated
warning: 'postgresql-11' is deprecatedhttps://git.savannah.gnu.org/git/guix.git2a6d964
I had installed postgres once, but removed it later. However, this message pops up every time. I understand that postgres 10 & 11 have been deprecated. Can somebody help me to get rid of this message?
Update after 8 days: I didn't see the warning today without doing anything. `pull` is now informing postgres news:
News for channel 'guix' PostgreSQL service upgrade commit b93434e656eba4260df...
This news entry concerns users of the \``postgresql-service-type'.
The default PostgreSQL used in `postgresql-configuration' has been deprecated, and will be removed in a few months. However, the value of the default `postgresql-configuration-postgresql' can't be directly changed to a newer major version of PostgreSQL, because switching to a major version currently requires a manual update of the database.```
Because of this, the default value of postgresql-configuration-postgresql has been unset. Current users of the service will have to set it manually. If it was unset, use \postgresql-10' and plan an upgrade in the next month to a supported version of PostgreSQL. To upgrade, you will need to either dump your database using your previous version of PostgreSQL and reload it in the new version or use the \
pg_upgrade' application. See `https://www.postgresql.org/docs/current/upgrading.html' for more info`
I am interested in running the `guix` package manager on my unrooted Termux Android device both in the host context and in various proot chroot guest environments. On reading this:
https://guix.gnu.org/manual/en/html_node/Binary-Installation.html
I am unsure whether this is, or is not, possible.
If anyone could provide clarity on this, I would be greatly appreciative.
Hi Folks
I am trying to use Guix package manager (in a freshly installed Ubuntu server) to manage all the stuff automatically that I would normally do manually.
I want to use Guix to install/configure packages, manage dot files etc.
One of my aims is to get a config in SCM that can be used on a fresh VM (or two) and get everything I need in one shot.
I am thinking I don't want to do any ad-hoc 'guix install' ?
So where do I start?
First I need how to create/use a config.scm that would install and configure all the software I need (emacs, zsh, development tools the works).
Second I want to configure my home environment (dot files etc). I assume I would be using 'Guix Home' for this?
Sorry, I know this is a bad kinda low effort post. It's just I don't actually know anyone who actually tried GuixSD (unlike every other major Linux distro) and don't know where to ask about it.
I use NixOS have been planning to migrating to GuixSD for sometime now, especially for its apparently better documentation, people saying it's less "buggy" and, of course, using for configuration a programming language I actually want to learn deeply (unlike Nix - and which I already use configuring my Emacs). However I am not someone who usually casually install a distro on a VM or in any old computer or "just try the package manager"...for me to actually learn I install it on my main setup and migrate for real.
Is there anything I could do or use in NixOS for example that's currently not doable in Nix? I am just a hobbyist programmer and math student, I use nothing fancier than Emacs, Mathematica and Coq. I ask this because Nix package manager is available for GuixSD and apparently using flakes is very straightforward in this distro. Will I have compatibility issues that doesn't occur in NixOS, any sort of warning in this regard?
Also, I have a Dell laptop with a Nvidia dedicated video card, is it likely I will not be able to use GuixSD in it?
Any other advice to someone wanting to enter into this rabbithole is very welcome :)
I'm not sure if this is the right place, but I just wanted to share the sentiment as a person currently trying out the guix package manager, that it seems unfortunate that it doesn't seem to work in many container environments without dangerous privileges. This makes it more difficult to use in CI environments than all other package managers I've used so far, like apt, dnf, pip, and so on.
Hi, I have a home server (basically a NAS) currently running Debian. Basically it's configuration is as follows
- debian host running 3 VMs
- debian running inside each VM as docker host
I just manually install KVM on the host then docker on each VM after creating each of them. I documented the process so I know how to replicate it in case I switch hardware.
Would I be able to automate the above (creating VMs and configuring guests) if I'm using Guix? Is it also possible to configure and bring-up the respective containers within the VMs?
I know this is just a cursory question, but I just came across Guix, and would like to learn it instead of Ansible.. :)
Thank you.
I know it's discord, most people here stay away from it, etc.
But for those that do use discord, I'm wondering if they know any servers where one can discuss and ask about Guix? It seems there used to be a system crafter's discord but it is now archived.
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.
Heya,
As I’m messing around with guix, I’m a bit perplexed with all the dependencies it’s pulling in for packages where they’re not needed.
For example, as Im installing thunar, password-store, imagemagick and some other utils, I see it’s pulling in wl-clipboard and dmenu. I don’t think these are needed?
Is there a way to find the origin of these dependencies and also cut them out somehow?
Hey friends!
I want to start using GUIX, I don't want to use GUIX system because the linux kernel has more support than the hurd micro-kernel/the rest linux kernel. But the question is what OS should I go with:
I'll be using emacs EXWM as my window manager.
I prioritize stability and freedom. (As close to FSF aproved as possible.)
I do not want a rolling release.
I was thinking of PureOS.
Please let me know if you have any suggestions.
Thank you very much!
Kind regards,
me
Hello, I'm wondering if it is possible to use Wisp for Guix configuration. I know you can use it as a syntax for Guile with guile --language=wisp
, but this --language
argument doesn't exist for guix system reconfigure
or guix home reconfigure
. Is there a way to do this from within Guile, like Racket's #lang
?
Hi everyone. I'm a new guix user (package manager, not OS). I keep running into the scenario of needing a package, finding it using `guix search` but it is outdated. Is there an easy way to rebuild it to a newer version or is it likely I will have to reconfigure the package source by hand to get it to work.
For example: I wanted to download anki today but the latest version on guix is 2.1.16 and on the official site it is 24.06.3 (they recently changed versioning numbering)
Thanks in advance.
Hi,
I'm trying to use https://github.com/PromyLOPh/guix-install-action which downloads from ci.guix.gnu.org . Since yesterday the Cuirass subdomain seems to be down. Could not find any information in the mailing list. Guess it's a temporary outage. Is that so ?
Thanks in advance
How to fix this? I tried three times in a row. This is a fresh instalation.
I'm trying out GUIX for the first time, visiting from NixOS land.
Is there a way to tell Shepherd (or something else) to put resource limits on services? I'd normally use a systemd slice to configure this (see: https://www.freedesktop.org/software/systemd/man/latest/systemd.slice.html and https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#).
I haven't found a way in the GUIX documentation yet, but I'm probably missing it / searching for the wrong keywords.
Thanks!
Hi everyone!
I have been an avid fan of Guile and GUIX for a long time and have recently made the decision to switch exclusively to GNU/Linux for my windows desktop.
(The primary reason why I remained on windows is gaming while I used Ubuntu on my laptops)
Since I am no power user and am inexperienced with the terminal, would GUIX be above what I can handle?
Any resources for new users for GUIX would be great as well as any tutorials or curriculum in learning Guile scheme!
Should I instead go with Debian or smjust bite the bullet?