nixos
nixos copied to clipboard
Added oneko module
note: the module might not work properly under wayland
Good news: starting
oneko
from the CLI works flawlessly. What does not work:
systemctl --user start oneko.service
systemctl --user status oneko.service
× oneko.service - oneko
Loaded: loaded (/etc/systemd/user/oneko.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Mon 2023-12-25 10:01:20 CET; 3s ago
Duration: 1ms
Process: 85059 ExecStart=/nix/store/anzkyirswlx7q5zibhk45vah5y94ag3w-oneko-1.2.6/bin/oneko -sakura (code=exited, status=1/FAILURE)
Main PID: 85059 (code=exited, status=1/FAILURE)
CPU: 1ms
Dez 25 10:01:20 daisy systemd[2291]: Started oneko.
Dez 25 10:01:20 daisy systemd[2291]: oneko.service: Main process exited, code=exited, status=1/FAILURE
Dez 25 10:01:20 daisy systemd[2291]: oneko.service: Failed with result 'exit-code'.
I'm using Sway. Any ideas?
A change to the systemd unit might help, though in all my tests oneko did not run under wayland. Ill update the module as soon as possible
It might have to do with the way Display variables work under Wayland. I will play around with it once I find time for it.
This might make the service autostart correctly