You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the newly-added services.psd.enable option doesn't work correctly due to three issues.
First issue, the psd daemon will not work, since the base config files in $HOME/.config/psd are not created, the daemon will always exit with:
First time running psd so please edit /home/USER/.config/psd/psd.conf to your liking and run again.
Second issue, if you manually add the config file, it always fails with:
profile-sync-daemon[6398]: is not a supported browser. Check config file for typos: /home/USER/.config/psd/psd.conf
I generated the config file simply by running psd once.
This might be be a bug in psd, since if no browsers are added to the config, it should automatically manage all browsers present on the system.
Third issue, if you manually add a browser to the config, it fails, since the script PSD runs can't find needed commands in the environment.
/nix/store/nycg6pa28kh4hk1nmm6vh73gvd758vav-profile-sync-daemon-6.50/share/psd/browsers/firefox: line 15: grep: command not found
/nix/store/nycg6pa28kh4hk1nmm6vh73gvd758vav-profile-sync-daemon-6.50/share/psd/browsers/firefox: line 15: sed: command not found
/nix/store/nycg6pa28kh4hk1nmm6vh73gvd758vav-profile-sync-daemon-6.50/bin/profile-sync-daemon: line 390: id: command not found
Thank you for the report!
Does danjujan@0d0b333 fix your third issue?
Currently the psd.conf is not managed by home-manager as I simply ported the NixOS module. Support for that is on my todo list. However, I don't have much time in the coming weeks. Maybe you can create a PR for that?
Thank you for the report! Does danjujan@0d0b333 fix your third issue?
Currently the psd.conf is not managed by home-manager as I simply ported the NixOS module. Support for that is on my todo list. However, I don't have much time in the coming weeks. Maybe you can create a PR for that?
Sorry for the late reply, unfortunately it doesn't fix the issue.
Correction: It indeed fixed the issue, I didn't see that it was on your fork 🤦
I'll look into the other issues myself later this week and create a PR to fix it.
I'll look into the other issues myself later this week and create a PR to fix it.
Have a look at nixos/modules/services/desktops/profile-sync-daemon.nix before NixOS/nixpkgs@574f4c4. Most of the functionality was apparently there already but got removed.
Are you following the right branch?
Is there an existing issue for this?
Issue description
Currently the newly-added
services.psd.enable
option doesn't work correctly due to three issues.First issue, the psd daemon will not work, since the base config files in
$HOME/.config/psd
are not created, the daemon will always exit with:Second issue, if you manually add the config file, it always fails with:
I generated the config file simply by running
psd
once.This might be be a bug in psd, since if no browsers are added to the config, it should automatically manage all browsers present on the system.
Third issue, if you manually add a browser to the config, it fails, since the script PSD runs can't find needed commands in the environment.
Maintainer CC
@danjujan
@rycee
System information
The text was updated successfully, but these errors were encountered: