For Nix Home-Manager on non-nixos you need to fix the driver integration. https://nix-community.github.io/home-manager/index.xhtml#sec...

Nowadays it is quite easy https://github.com/AntonFriberg/dotfiles/blob/master/modules...

Note that the way this works is that after you activate your home manager generation it outputs a script path that you need to run manually as root which installs a Systemd service which ensures that the drivers are linked correctly.