1
5
submitted 1 month ago by PublicLewdness@lemmy.ml to c/guix@lemmy.ml

I usually use Psensor to monitor temperatures but it's not available on Guix yet. Can anybody recommend an alternative that does work on Guix ?

2
16
The goblin and the shepherd (spritely.institute)
submitted 2 months ago by callcc@lemmy.world to c/guix@lemmy.ml

From the article

The great promise of Spritely Goblins is to make networking easier and safer. For the past few years, we've focused on developing a toolkit to facilitate this goal. Today, we're proud to announce an incredibly exciting project that will put this toolkit to the test in the largest real-world deployment of Spritely technology so far: a port of the GNU Shepherd system layer to Guile Goblins — the first step in making Guix the object-capability operating system!

3
5

Protonvpn has some instructions to connect via openvpn:

https://protonvpn.com/support/linux-openvpn/

Where I'm stuck is step 3, where the guide has you download a dns update script into /etc/openvpn.

Openvpn doesn't reside in /etc so I'm not sure how to handle that. Any advice? Thanks.

4
7
submitted 4 months ago by velox_vulnus@lemmy.ml to c/guix@lemmy.ml

I'm not sure if this is the right term to use, but in Nix, there's a shell.nix file to access the shell in an isolated, pure environment. I have a repository, basically a web app that uses NodeJS. I want to be able to invoke a new shell using guix shell. What is the similar equivalent in Guix? Is it guix.scm or manifest.scm?

5
2
submitted 4 months ago* (last edited 4 months ago) by 82cb5abccd918e03@lemmygrad.ml to c/guix@lemmy.ml

Compiling a rust program works correctly, but when running the binary the dynamic linker says libstdc++.so.6: cannot open shared object file: No such file or directory.

The only way I found to get around this in a manifest file is with force accessing gcc:lib which is a private package definition:

(concatenate-manifests
 (list
  (packages->manifest
   (list
    (list (@@ (gnu packages gcc) gcc-13) "lib"))
  (specifications->manifest
   (list
    "coreutils"
    "libgccjit"
    "clang-toolchain"
    "other stuff..."))))

but the @@ operator is kind of a hack since it accesses private definitions in a module and probably isn't mean to be normally used.

Has anyone found a proper way to link to libstdc++.so.6?

6
8
submitted 4 months ago by velox_vulnus@lemmy.ml to c/guix@lemmy.ml

I am looking forward to hardening my system, but I'm not sure how I should go about it. Any advice?

7
7
submitted 4 months ago by wer2@lemm.ee to c/guix@lemmy.ml

I am thinking about moving to Guix, and was wondering what you all think of Shepherd?

What are things you like? What are its shortcomings? Any cool or weird things you wish you knew before using it?

For context, I am currently using Runnit.

8
1
submitted 4 months ago* (last edited 4 months ago) by velox_vulnus@lemmy.ml to c/guix@lemmy.ml

For some reason, the app nm-connection-editor (Advanced Network Configuration) exists on my GNOME, but I don't even use it. I suspect that it's a part of package nm-applet. I also have system-config-printer (Print Settings, I think?) and system-config-printer-applet, but both of them don't work properly.

I want to remove both these apps, as I don't use them, but they've been introduced by services. How should I proceed?

9
8
submitted 4 months ago by mrh@mander.xyz to c/guix@lemmy.ml
10
12
submitted 5 months ago by velox_vulnus@lemmy.ml to c/guix@lemmy.ml
11
5
submitted 5 months ago by velox_vulnus@lemmy.ml to c/guix@lemmy.ml

I'm a Guix newbie, and I'm also not making use of Guix Home, so for the time being, I'm forced to build the entire config.scm from scratch. However, what I've noticed while building is that I get this weird log:

shepherd: Service host-name running with value #<unspecified>.

What could this be? I'm pretty sure I've set the value of host in the configuration file.

...
 (host-name "hp")
...
12
8
submitted 5 months ago by velox_vulnus@lemmy.ml to c/guix@lemmy.ml

It seems to me that there's no service for pipewire available at the moment. How do I configure pipewire to run with GNOME, ideally with pipewire-pulse?

13
9
submitted 5 months ago* (last edited 5 months ago) by velox_vulnus@lemmy.ml to c/guix@lemmy.ml

Currently, I'm on a Guix System, and I must say, using Nix with it, or vice-versa, is a terrible idea because of one simple reason: contamination of environment variables: PATH, LD_PRELOAD and LD_LIBRARY_PATH, just to name a few. Most of my Flakes are useless on the Guix System, and I can imagine the same for Guix expressions on NixOS.

14
9
submitted 5 months ago* (last edited 5 months ago) by csantosb@lemmy.ml to c/guix@lemmy.ml

New blog post on the 100+ Guix packages contributed by AMD, preliminary tests on one the French national supercomputers, and how it can benefit going forward to both AMD and the French and European #HPC environments.

15
7
submitted 5 months ago* (last edited 5 months ago) by velox_vulnus@lemmy.ml to c/guix@lemmy.ml

Here is my current configuration:

config.scm

(use-modules
 (gnu)
 (gnu packages admin)
 (gnu packages certs)
 (gnu packages fonts)
 (gnu packages gnome)
 (gnu packages package-management)
 (gnu packages text-editors)
 (gnu packages terminals)
 (gnu packages wm)
 (gnu packages xdisorg)
 (nongnu packages linux)
 (nongnu packages mozilla)           
 (nongnu system linux-initrd))

(use-service-modules
 desktop networking ssh xorg)

(operating-system
 (host-name "guix")
 (kernel linux)
 (initrd microcode-initrd)
 (firmware (cons*
  realtek-firmware
  %base-firmware))
 (timezone "Asia/Kolkata")
 (locale "en_IN.utf8")
 (keyboard-layout (keyboard-layout "in" "en"))

 (bootloader
  (bootloader-configuration
   (bootloader grub-efi-bootloader)
   (targets '("/boot"))))

 (file-systems (cons*
  (file-system
   (device (file-system-label "guix"))
   (mount-point "/")
   (type "btrfs"))
  (file-system
   (device (uuid "C938-C7C0" 'fat))
   (mount-point "/boot")
   (type "vfat"))
   %base-file-systems))

 (swap-devices
  (list
   (swap-space
    (target
     (uuid "4550d1a4-3566-47a2-a3bc-8d77c87acc62")))))
 
 (users (cons
  (user-account
   (name "guix")
   (comment "Guix System")
   (group "users")
   (supplementary-groups '("wheel" "netdev" "audio" "video")))
   %base-user-accounts))

 (packages (cons*
  gnome-tweaks kakoune
  nss-certs tree nix
  firefox font-google-noto
  font-google-noto-emoji
  font-google-noto-sans-cjk
  font-google-noto-serif-cjk
  font-awesome %base-packages))
 
 (services (cons*
  (service openssh-service-type)
  (service bluetooth-service-type)
  (service xfce-desktop-service-type)
  (modify-services %desktop-services
   (guix-service-type
    config =>
    (guix-configuration
     (inherit config)
     (substitute-urls (cons*
      "https://substitutes.nonguix.org"
      %default-substitute-urls))
     (authorized-keys (cons*
      (local-file "./signing-key.pub")
      %default-authorized-guix-keys))))))))

I am currently on a low-end laptop, as my device has broken down. It runs on 4GB of RAM, and GNOME is pretty heavy on this device. I am looking for a custom WM setup based on Wayland preferably (river, hyprland, sway or dwl). I do not want any fancy shortcuts for terminal or any other app. I want to be able to use a launcher and toggle between workspaces. I want snapping and multi-window gestures just like how it works on GNOME. I would appreciate shortcut icons for shutdown, wifi and sound. And last but not the least, I want to be able to control brightness and light/dark mode.

Can anyone recommend me how I can start setting up a WM in this config file? What do I need to add, apart from the WM itself?

16
5
submitted 6 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml

a proposal of automated provisioning of secrets on guix with sops

17
16
submitted 6 months ago by kixik@lemmy.ml to c/guix@lemmy.ml

Old post but better have it in this community

18
9
submitted 6 months ago* (last edited 6 months ago) by kixik@lemmy.ml to c/guix@lemmy.ml

Old post, but better have it in this community

19
7
submitted 6 months ago* (last edited 6 months ago) by HulkSmashBurgers@reddthat.com to c/guix@lemmy.ml

Edit: Turns out for what I'm trying to do (mount luks encrypted raid after start up) only needs the device mapping for the raid drive and not a file-system object.

So I luks encrypted the raid and call a script to open the vault and mount it when I need to.


In my system config file I added a raid drive like so:

(mapped-devices (list (mapped-device
                                     (source (uuid
                                                  "205e5caa-694f-4457-a2a1-8affa3536e75"))
                                     (target "guix")
                                     (type luks-device-mapping))

                                  (mapped-device
                                     (source (list "/dev/sdb1" "/dev/sdc1"))
                                     (target "/dev/md0")
                                     (type raid-device-mapping))))

(file-systems (cons* (file-system
                                  (mount-point "/")
                                  (device "/dev/mapper/guix")
                                  (type "ext4")
                                  (dependencies (list (list-ref mapped-devices 0))))

                               (file-system
                                  (mount-point "/mnt/nas")
                                  (device "/dev/md0")
                                  (type "ext4")
                                  (mount? #f)
                                  (dependencies (list (list-ref mapped-devices 1)))) %base-file-systems)))

I'd now like to luks encrypt the raid drive but I'm not sure how to go about doing it. Do I simply make a another mapped-device object, specifying the raid drive uuid and "/dev/md0" as the target:

(mapped-device
   (source (uuid
                {raid uuid}))
                (target "/dev/md0")
                (type luks-device-mapping))

and then pass that as a dependency to the raid file system object?

Thanks

20
12
submitted 6 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml

If you need to run Grafana on the Guix System this post is the right place. In this example we'll setup Grafana to read metrics from the same machine it's run upon, but you can adapt this to use a remote datasource.

21
8
Tame Docker selfhosting with Guix (fishinthecalculator.me)
submitted 6 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml
22
11
submitted 7 months ago by fishinthecalculator@lemmy.ml to c/guix@lemmy.ml

I'm developing a Guix channel with a library of community maintained Shepherd Services for self-hosted software that is not yet guixable.

For now there are Grafana, Prometheus and Conduit but it would be amazing if you'd like to contribute some services or even just test the existing ones and report any bug.

23
14
submitted 7 months ago by aurtzy@discuss.tchncs.de to c/guix@lemmy.ml

TL;DR: Guix Packager is a new web user interface for defining Guix packages, which should help make Guix more approachable!

You can check out the web app here.

Project repository here.

24
14
submitted 8 months ago by tetris11@lemmy.ml to c/guix@lemmy.ml

Compare this to this 2020 blog post, which had the source binary at 60MiB

https://guix.gnu.org/blog/2020/guix-further-reduces-bootstrap-seed-to-25/

25
4
(lemmy.ml)
submitted 8 months ago* (last edited 6 months ago) by velox_vulnus@lemmy.ml to c/guix@lemmy.ml

I would like to go for the old OPENSTEP/NEXTSTEP desktop on Guix-installed device. How do I go about configuring it? Working on Guille configs for tweaking the desktop hasn't been that easy for me on Guix, as there's no proper equivalent of NixOS for the same.

view more: next ›

Guix

274 readers
1 users here now

Guix is an advanced distribution of the GNU operating system developed by the GNU Project

founded 4 years ago
MODERATORS