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
28 Posts 11 Posters 40 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.
  • 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.

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

    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.

    Iirc guix shell is for one off package or programs you want to test, say you want to quickly format a drive to exfat or so, when you exit the sub-shell, the installed packages are discarded

    guix shell containers would work best for your scenario but I have little experience with them

    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.

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

      Also, welcome to Guix System Distribution, I hope you stick around

      1 Reply Last reply
      1
      • tasankovasara@sopuli.xyzT [email protected]

        I quit on day two with two takeaways:

        – Hardware must be well supported in fully-libre-land - I was trying to install on a Mac Mini and had to go nonguix pretty much right away. That kind of spoiled the whole effort.

        – Profound meditation and enlightenment on the essence of Scheme is a must. I had one of those 'no, this is where you don't want a closing brace' moments and my zen was blown out of the water.

        I would have soldiered on, but 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. Just in case the Internet dies one day, you know. I realised Guix was not really suitable for the apocalypse use case, so after that brace episode I decided to stick with what my spine already knows.

        After all that is said – I really hope you fare better 😄

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

        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 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).

          G This user is from outside of this forum
          G This user is from outside of this forum
          [email protected]
          wrote 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 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 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 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 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 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 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 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
                        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