TalonCommunity / Wiki

Community maintained wiki for Talon Voice
https://talon.wiki
80 stars 80 forks source link

docs: Add nix usage instructions #290

Closed fidgetingbits closed 3 months ago

fidgetingbits commented 3 months ago

Fleshed it out some more. I removed the part of the warning that said the flake was experimental, but I still say that it's unofficial. Even though flakes are an experimental part of nix, I don't think that that means that the flake itself is experimental.

I did test out programs.talon.enable a bit, although I didn't check if is explicitly required to get the tobii working yet, so left that out for now. I think in general it is idiomatic to use options like this when possible anyways so it's ok to suggest.

I also tested explicitly adding the package in to environment.systemPackages and home.packages like how your example was, but ended up getting unfree errors despite my nixpkgs being setup to allow unfree. I normally use overlays to insert external packages into my nixpkgs attrset, which then inherits its unfree configuration, so this may be related. But I'm not going to bother spending time trying to debug why. If it ends up being something people run into I can just give an example of how to do it as an overlay instead, and we can not suggested doing it that way.

I also created a #talon-nixos channel so we can pin this wiki page and some other stuff.