Hello! I'm back.
Here is the service config:
(services
(append
(list
(home-dbus-service-type
(home-configuration
(dbus "flatpak")))))))
(modify-services %desktop-services
;; network services here
(delete gdm-service-type))))
When my config is like this, I get a "Wrong type to apply" error.
When the config is like this:
(modify-services %desktop-servuces
(home-dbus-service-type config =>
(home-configuration
(inherit config)
(dbus "flatpak")))))))
I get a "source expression failed to match any pattern" error.
On Thursday, June 4th, 2026 at 10:25 AM, Mario Calcagno
<[email protected]> wrote:
> Without seeing the config itself is a little hard to say what is wrong, I
> think it's because home-dbus-service-type can't be used in a operating-system
> definition.
>
> When you return home can you send the entire config you us and, the lutris's
> error?
>
>
> Sent from Proton Mail for Android.
>
> -------- Original Message --------
> On Thursday, 06/04/26 at 17:19 g|ass.Houses <[email protected]> wrote:
>
> Yes, $XDG_DATA_DIRS is modified and in my bash_profile, according to what
> Roman said. I'm using Openbox so it doesn't have a service. I tried adding
> home-dbus-service-type to my service list (outside of modify
> %desktop-services) and get an error about the source expression (I figured
> it's in the wrong place). I'll have to see the full error I receive when I
> return home. Is there any idea what it could be given I what I have stated
> currently?
>
> On Thursday, June 4th, 2026 at 8:43 AM, Mario Calcagno
> <[email protected]> wrote:
>
> > So I went and checked, and it seems that %desktop-services already contains
> > the dbus service, so it shouldn't be necessary.
> > Did you modify $XDG_DATA_DIRS correctly?
> >
> > I'm using sway so I built my environment from the ground up.
> >
> > P.S. home-service-dbus-type is used when configuring a home environment
> > through "guix home" command so I don't think it can be used when defining
> > an operating-system
> > for the "guix system" command
> >
> > Sent with Proton Mail secure email.
> >
> > On Thursday, June 4th, 2026 at 2:50 PM, g|ass.Houses <[email protected]>
> > wrote:
> >
> > >
> > > Hello! For that home-dbus-service-type, do I add it to my modify-services
> > > %desktop-services type? Thanks in advance!
> > >
> > >
> > > On Thursday, June 4th, 2026 at 7:13 AM, Mario Calcagno
> > > <[email protected]> wrote:
> > >
> > > > In addition to what Roman said, I also have the home-dbus-servive-type
> > > > in my guix home configuration. So if you're not using a DE like Gnome
> > > > or KDE Plasma you probably need to add it to your config.
> > > >
> > > > If you're not using guix home you should be able to add it to your
> > > > system config using "dbus-root-service-type".
> > > >
> > > >
> > > >
> > > > Sent with Proton Mail secure email.
> > > >
> > > > On Wednesday, June 3rd, 2026 at 7:36 PM, "g|ass.Houses" via
> > > > <[email protected]> wrote:
> > > >
> > > > > Hello, I had another qusstion. I am trying to get flatpaks to work on
> > > > > Guix (namely Lutris) and received a dbus error, typically asking for
> > > > > the Dbus portal service. What is the proper configuration (as in, the
> > > > > proper code in the config.scm file) to get flatpaks working on a Guix
> > > > > system without running dbus-run-session?
> > > > >
> > > > > Thank you