ilya-zlobintsev / LACT

Linux GPU Configuration Tool
MIT License
1.44k stars 34 forks source link

Failed to start daemon NixOS #382

Closed levitskyyy closed 1 month ago

levitskyyy commented 1 month ago

Checklist

Bug description

Systemctl enable:

sudo systemctl enable lactd
Failed to enable unit: Unit file lactd.service does not exist.

sudo systemctl start lact-daemon
Failed to start lact-daemon.service: Unit lact-daemon.service not found.

while the lact daemon command works successfully:

lact daemon
2024-09-24T00:21:36.594713Z  INFO lact_daemon::socket: listening on "/var/run/user/1000/lactd.sock"
2024-09-24T00:21:36.611865Z  INFO lact_daemon::server::handler: initialized 1 GPUs

System info

- LACT version: latest
- Kernel version: 6.6.52
- Distribution: NixOS
ilya-zlobintsev commented 1 month ago

Seems to be an issue with the nix package, apparently you have to do this for the service to appear: https://wiki.nixos.org/wiki/AMD_GPU#GUI_tools

I don't maintain the nix package nor use nixos so I can't confirm this for sure though.