this post was submitted on 06 Jul 2025
58 points (98.3% liked)

Linux

57588 readers
907 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Trying out Guix for the first time! Waiting for packages to download.

I'm a long time Arch user. Any tips?!

I've heard there aren't as many packages for Guix as other distros, but I was thinking Flatpak and distrobox will help bridge the gap for me.

you are viewing a single comment's thread
view the rest of the comments
[–] HulkSmashBurgers@reddthat.com 1 points 1 month ago (1 children)

to install nix succesfully on my laptop I had to do the following steps:

guix install nix

nix-channel --list

if nixpkgs is not in channel then add

nix-channel --add https://nixos.org/channels/nixpkgs-unstable

sudo nix-channel --update --verbose

now change the group and ower of /nix

cd /nix/

sudo chown -R {your user name} ./var

sudo chown -R {your user name} ./store

sudo chgrp -R users ./var

sudo chgrp -R users ./store

now update the channels

nix-channel --update --verbose

################################

then install say firefox

nix-env -iA nixpkgs.firefox

[–] panosalevropoulos@lemmy.ml 1 points 2 weeks ago (2 children)

Thanks! I think I need to set up the service first in my config.scm, right?

[–] HulkSmashBurgers@reddthat.com 1 points 21 hours ago

I jpst googled it and got these steps (haven't tried them yet):

To set up a Nix service in your Guix configuration, you need to enable the service in your configuration file, typically located at /etc/config.scm. You can refer to the Guix documentation for detailed instructions on how to properly configure and manage services.

Step one: Open config file

Step 2: Enable nix service

(use-modules (gnu))

(operating-system
  ...
  (services
   (cons* (service
            (nix-service)
            (nix-configuration
             (nix-channel "https://nixos.org/channels/nixos-23.11"))
            )
          ...)))

Save the file and reconfigure:

sudo guix system reconfigure /etc/config.scm

After reconfiguration, verify that the Nix service is running correctly by checking the service status:

systemctl status nix-daemon

Additional Notes:

  • Ensure you are using the latest stable version of Guix to avoid compatibility issues.

  • If you encounter any problems, consult the Guix documentation for troubleshooting tips.

  • The Nix service allows you to use Nix packages alongside Guix, providing flexibility in package management.

Hope this helps!

[–] HulkSmashBurgers@reddthat.com 1 points 21 hours ago

No I didn't do anything in my config. You can though and it seems like a better less kludgy way to do it, I haven't done that yet. If I ever figure it out I'll let you know.