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.

    • HulkSmashBurgers@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      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

        • HulkSmashBurgers@reddthat.com
          link
          fedilink
          arrow-up
          1
          ·
          19 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
          link
          fedilink
          arrow-up
          1
          ·
          19 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.