• 14 Posts
  • 23 Comments
Joined 4 years ago
cake
Cake day: June 10th, 2020

help-circle
  • I feel kind of bad about this but I refuse to join Guix IRC. I use mailing list out of frustration but these communication channels are the proof that Guix is not only a nice, useful and open project but it has born a project for fossbro babyboomers. It is a golden walled garden for themselves , I don’t feel ok in that space.

    EDIT: I’ve answered a little emotionally. Let me clarify, I believe most Guix maintainers act of of good will and they want to find some communication platform which is inclusive for everyone (since it is clear also to rocks that IRC is good only for someone born before 1990, so it is good for people aged >= 35) . Some of the maintainers, and some most noisy members of the community make it so bad for everyone else but themselves that, having so much explicit and soft power, the discussion about moving away from communication protocols older than CDs was closed stating “everything is perfect as it is, we reach exactly the right set of people, we do not care of increasing the userbase or making the community more inclusive”.



  • Would be pretty useful, as far as I know there is no way to change /etc/{subuid,subgid} in the system configuration without manually editing.

    Well I had to make one :) it is being tracked on https://issues.guix.gnu.org/72337 . You can define subuid and subgid ranges like so:

    (use-modules (gnu system shadow)      ;for 'subids-service-type'
                             (gnu system accounts))   ;for 'subid-range'
    
    (operating-system
      (services
        (list
          (simple-service 'alice-bob-subids
                          subids-service-type
                          (subids-extension
                            (subgids
                             (list
                              (subid-range (name "alice"))))
                            (subuids
                             (list
                              (subid-range (name "alice"))
                              (subid-range (name "bob")
                                           (start 100700)))))))))
    
    

    which would yield

    # cat /etc/subgid
    root:100000:65536
    alice:165536:65536
    
    
    # cat /etc/subuid
    root:100000:700
    bob:100700:65536
    alice:166236:65536
    

    Another annoyance with podman on guix is making / a shared mount doesn’t work so changes in mounts aren’t propagated.

    I think I solved that by using a Shepherd service run on boot calling mount --make-shared / . I didn’t do extensive testing of mounts but I’m currently using this on my systems as it’s set up in my personal channel. By adding the following to my own system config

    (use-modules (small-guix system accounts)
                             (small-guix services containers))
    
    (service iptables-service-type)
    (service rootless-podman-service-type
                   (rootless-podman-configuration
                    (subgids
                     (list (subid-range (name "alice"))))
                    (subuids
                     (list (subid-range (name "alice"))))))
    

    I’m able to run the following rootless Podman hello world

    $ podman run -it --rm docker.io/alpine cat /etc/*release*
    NAME="Alpine Linux"
    ID=alpine
    VERSION_ID=3.20.2
    PRETTY_NAME="Alpine Linux v3.20"
    HOME_URL="https://alpinelinux.org/"
    BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
    

    and with guix shell podman-compose I’m able to run this Podman compose hello world:

    $ mkdir data
    $ echo hello world > data/index.html
    $ podman compose up -d
    
    ...
    
    exit code: 0
    $ curl localhost:8080
    hello world
    

    So some kind of mount appears to work. Thank you for your feedback and feel free to try the service from my own channel if you are interested in providing more or in trying rootless podman on the Guix System.




  • I wouldn’t go the manual way if you are not forced. If you use NetworkManager you can import the configuration either grafically or with nmcli.

    It should be sufficiente to modify the network manager service provided by Guix:

    (modify-services %desktop-services
     [...]
     (network-manager-service-type config =>
     		               (network-manager-configuration
    			        (inherit config)
    			        (vpn-plugins (list network-manager-openvpn))))
    

    reconfiguring your system, rebooting and then importing the configuration and set your credentials





  • I think functional distros like Guix or Nix are just another thing. Their ability of programming , provisioning and deploying software environments is unparalleled. My personal favorite is Guix since, while having less packages than Nix, it has the most consistent experience: everything is in Scheme from the top to the bottom of the distro. Also it pushes really hard on a sane bootstrapping story while allowing for impurity through channels like nonguix .

    The main downside is the lack of tutorials and a documentation that’s very intense, let’s say. typical of GNU projects. I suggest the System Crafters youtube channel which has a lot of nice tutorials






  • imho having a more accessible contribution workflow would increase the number of people interested in spending time in reviewing.

    Regardless of the many problems of web forges today the ability to review only what’s changed between the various revisions of a pull request and the comments in a single view is not achievable with a simple email workflow. You end up reimplementing the PR/MR functionality with other tools, exactly as is happening with the Guix QA tools. I love them but we’re reimplementing gitlab/gitea/codeberg by parsing patch revisions from emails subjects.












  • fishinthecalculator@lemmy.mltoLinux@lemmy.mlI had a journey
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    1 year ago

    No. They are not equal and neither same. If you understand Italian I suggest you to search for Prof. Barbero videos on the topic. They are quite better than anything I’ll be able to convey.

    Fascism:

    It’s an authoritarian dictatorship happened between 1914 and 1945 in Italy. The fascist regime and ideology was strictly based on Mussolini’s figure, people marched in straight lines down the streets, everyone wearing the same uniforms and Italy was a great imperialist nation (lol jk it wasn’t but they quite believed it). Fascism and the fascist party stopped existing after partisans overthrew the regime. Fascism is a 20 years long dictatorship. After that there were some regimes around the world that were inspired by Mussolini such as the current ruling party Italy Fratelli d’Italia, Marine le Pen’s party in France, those shitty AFD in Germany, orban’s Regime, franco in Spain etc etc. They are called neofascists, because Fascism was a 20 years long regime happened in Italy between 1914 and 1945.

    Communism:

    Communism is a model of governace that’s never been achieved in human history, as someone above said it’s about classless, stateless, governance models. It’s been around for like 200 years (the Communist Party Manifesto is from 1848), and in every country of the world there is/ has been a Communist Party and as we know they were always persecuted for being communist, stopped from going to the government and stopped from bulding a classless society when they managed to get to govern. Just see what the USA did in the last 50/60 years in every country that risked a communist government: Chile and latin America in general, Italy and so on an so forth.

    Fascism =/= communism, and if you say the contrary you just don’t know how they work.