Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. Installing Guix as a Complete GNU/Linux System - System Crafters

Installing Guix as a Complete GNU/Linux System - System Crafters

Scheduled Pinned Locked Moved Linux
linux
30 Posts 11 Posters 228 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P [email protected]

    Could you share how you do that? It didn't work last time I tried it (using Nix on top of Guix).

    G This user is from outside of this forum
    G This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #21

    You have to setup a Nix service and do some symlink-ing

    https://guix.gnu.org/manual/en/html_node/Miscellaneous-Services.html

    1 Reply Last reply
    0
    • paequ2@lemmy.todayP [email protected]

      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.

      paequ2@lemmy.todayP This user is from outside of this forum
      paequ2@lemmy.todayP This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #22

      Btw, here's how you configure HiDPI for GNOME. Unfortunately, my laptop has a hydeepeeay display, so it's not fully compatible with Linux. (It's 3840x2160, so at least 2x scaling is possible, hypothetically.)

      Commands from the Arch Wiki, but also adds cursor scaling:

      $ gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}, {'Gtk/CursorThemeSize', <48>}]"
      $ gsettings set org.gnome.desktop.interface scaling-factor 2
      

      The default GNOME configuration is some how missing that. I didn't have to do that in Arch, but I do in Guix. IDK. Anyway, if you don't run those commands certain apps will be tiny, including a tiny mouse cursor.

      1 Reply Last reply
      0
      • G [email protected]

        personally I like Arch first and foremost because I can (and do) have a local repo by rsyncing a rotation of mirrors couple of times a week.

        Are these mirrors for prebuilt packages? If not, you should be able to pull from other channels, create your own channel and include all your packages while building them locally.

        tasankovasara@sopuli.xyzT This user is from outside of this forum
        tasankovasara@sopuli.xyzT This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #23

        Sure, but then I'd be downloading every single source 'package' and compiling for both x86 and ARM - not exactly feasible. Keeping just the sources might be an option though. The point is to have the whole repo, not just the packages I use, so that in the SHTF scenario I can help others install Arch and any software they may need on their machines. Muhahaha, Arch will prevail 👻

        1 Reply Last reply
        0
        • paequ2@lemmy.todayP [email protected]

          guix shell and guix shell container for dev environment isolation

          Yeah! This is one of the features I'm most interested in. I haven't gotten to using this feature yet, but I was curious about it.

          Let's say I'm working on a project that requires Go, Node, maybe some C library, and GNU Make. Seems like I would be able to use guix shell for this, right? Great.

          Now if a friend wanted to work on the project, could I share my guix shell configuration with him? (Assuming he's also a Guix user.)

          I'm currently using distrobox.ini plus distrobox assemble for this kind of workflow, but of course this isn't totally reproducible.

          M This user is from outside of this forum
          M This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #24

          yes, you would share with him guix manifest which is a file that specifies which packages should be present. What is important to note are inferiors which is a mechanism to version lock the packages.

          paequ2@lemmy.todayP 1 Reply Last reply
          0
          • M [email protected]

            yes, you would share with him guix manifest which is a file that specifies which packages should be present. What is important to note are inferiors which is a mechanism to version lock the packages.

            paequ2@lemmy.todayP This user is from outside of this forum
            paequ2@lemmy.todayP This user is from outside of this forum
            [email protected]
            wrote on last edited by [email protected]
            #25

            share with him guix manifest

            Aaaah: https://guix.gnu.org/manual/devel/en/html_node/Writing-Manifests.html

            # Write a manifest for the packages specified on the command line.
            guix shell --export-manifest gcc-toolchain make git > manifest.scm
            

            Heck yeah!

            1 Reply Last reply
            0
            • projectmoonP Offline
              projectmoonP Offline
              projectmoon
              wrote on last edited by
              #26

              I want to love Guix (both the package manager and the distro). I want to love Scheme. But I can never find any good tutorials for Scheme and using it with Guix. The GNU documentation is more of a reference than a tutorial. I use Emacs on the daily, and I just can't get into Scheme.

              paequ2@lemmy.todayP 1 Reply Last reply
              0
              • projectmoonP projectmoon

                I want to love Guix (both the package manager and the distro). I want to love Scheme. But I can never find any good tutorials for Scheme and using it with Guix. The GNU documentation is more of a reference than a tutorial. I use Emacs on the daily, and I just can't get into Scheme.

                paequ2@lemmy.todayP This user is from outside of this forum
                paequ2@lemmy.todayP This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #27

                I use Emacs on the daily, and I just can’t get into Scheme.

                Do you find that Elisp and Scheme are too different? I don't know either, so they look almost the same to me.

                projectmoonP 1 Reply Last reply
                0
                • paequ2@lemmy.todayP [email protected]

                  I use Emacs on the daily, and I just can’t get into Scheme.

                  Do you find that Elisp and Scheme are too different? I don't know either, so they look almost the same to me.

                  projectmoonP Offline
                  projectmoonP Offline
                  projectmoon
                  wrote on last edited by
                  #28

                  @[email protected] I mean... I don't really fully understand Elisp either, despite my Emacs config being 10 years old! 😅

                  1 Reply Last reply
                  0
                  • P [email protected]

                    Could you share how you do that? It didn't work last time I tried it (using Nix on top of Guix).

                    H This user is from outside of this forum
                    H This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #29

                    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

                    P 1 Reply Last reply
                    0
                    • H [email protected]

                      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

                      P This user is from outside of this forum
                      P This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #30

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

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups