17 Mar 2023 |
Rampoina | doesn't seem to work inside a shell with dconf either | 17:32:11 |
Rampoina | I'm using KDE | 17:32:45 |
Yuu Yin | so i suppose there is something going on with the service file | 17:33:46 |
Minijackson | dconf uses dbus for communication, so there needs to be a systemd user service file installed for it | 17:34:35 |
Minijackson | IIRC, in NixOS, you can set programs.dconf.enable = true; | 17:35:07 |
Rampoina | I've added services.dbus.packages = [ pkgs.zrythm ]; | 17:40:15 |
Rampoina | same errors | 17:40:19 |
Rampoina | dbus is active and running | 17:40:52 |
Minijackson | I meant that the dconf service should be installed | 17:42:01 |
Rampoina | In reply to @Minijackson:matrix.org IIRC, in NixOS, you can set programs.dconf.enable = true; yeah ok my fault I was placing this on the wrong section | 17:44:21 |
Rampoina | with this it works | 17:44:26 |
Minijackson | nice | 17:44:29 |
Rampoina | but ughh | 17:44:30 |
Rampoina | can't the package do that? | 17:44:35 |
Minijackson | the package itself cannot install things into /etc/systemd/user | 17:44:57 |
Minijackson | but a NixOS module could do that | 17:45:04 |
Yuu Yin | In reply to @Minijackson:matrix.org IIRC, in NixOS, you can set programs.dconf.enable = true; Rampoina: are you on NixOS? i have that enabled so that might be why i cant reproduce your issue | 17:45:05 |
Minijackson | e.g.: programs.zrythm.enable = true; | 17:45:21 |
Rampoina | In reply to @yuu:matrix.org Rampoina: are you on NixOS? i have that enabled so that might be why i cant reproduce your issue yes but I didn't have this enabled | 17:45:33 |
Rampoina | no idea how I should know if the package doesn't tell me | 17:45:42 |
Rampoina | that's like really shitty UX | 17:45:48 |
Minijackson | you could open an issue upstream, asking if it would be possible to check that dconf is installed and running | 17:46:26 |
Yuu Yin | In reply to @Minijackson:matrix.org e.g.: programs.zrythm.enable = true; let me see... | 17:47:57 |
Yuu Yin | guess it will be my 1st module contribution | 17:48:25 |
Minijackson | In reply to @yuu:matrix.org let me see... I don't know if it's the best thing to do, though, it would be a bit overkill to have a NixOS module for each package that depends on dconf | 17:49:12 |
Minijackson | that we be a lot | 17:49:17 |
Rampoina | imo if it the package at least could check that and fail | 17:49:33 |
Rampoina | it would be enough | 17:49:35 |
Rampoina | no idea if that's doable or not in nix | 17:49:59 |
Minijackson | it would be hard to do in nix, imho | 17:50:18 |