TalonCommunity / Wiki

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

Document using talon with nix #289

Closed C-Loftus closed 4 months ago

C-Loftus commented 5 months ago

Initial documentation for using Talon with Nix the package manager and/or NixOS

netlify[bot] commented 5 months ago

Deploy Preview for talon-wiki-refactor ready!

Name Link
Latest commit 746127da933589ed4b95bc175450a43874c4f961
Latest deploy log https://app.netlify.com/sites/talon-wiki-refactor/deploys/667371eecadc340007f0d5f8
Deploy Preview https://deploy-preview-289--talon-wiki-refactor.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 5 months ago

Deploy Preview for talon-wiki-refactor ready!

Name Link
Latest commit ee7ae285f1000d686f6da44807a2ee914a0b75a2
Latest deploy log https://app.netlify.com/sites/talon-wiki-refactor/deploys/667371f8e05b23000876237c
Deploy Preview https://deploy-preview-289--talon-wiki-refactor.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

C-Loftus commented 5 months ago

@fidgetingbits Started this as a draft.

Do you think this should include installation instructions (i.e. something like the following which works for me)

  environment.systemPackages = with pkgs; [
    # vim
    (builtins.getFlake "github:nix-community/talon-nix").packages.${builtins.currentSystem}.default
    #  wget
  ];

I realize that a lot of nix configs look a bit different so not sure if this is out of scope and better left up to external docs?

I named the section Non-Standard Usage to emphasize that this is not an official package. But open to other ideas on naming.

fidgetingbits commented 4 months ago

Thanks for starting this. I'll add some stuff later. I think it's probably okay to show how to install/enable it ya. Given users are likely wanting to reduce typing already, giving copyable instructions to get it running asap seems useful. But ya, nix gives lots of options how to do things so have to decide what is worth showing..

I think I would just list the most common scenarios:

I do have a PR up now for allowing overrides in talon-nix, so can add something about using the beta once that gets upstreamed.

fidgetingbits commented 4 months ago

I sent a PR to your branch to add my changes https://github.com/TalonCommunity/Wiki/pull/290

fidgetingbits commented 4 months ago

Also I'm not sure what the best name for "non-standard usage" is either. "Exotic Linux Distributions"? Usage implies (to me) how talon is being used, not how it's installed, so not really sure... I'm good with whatever though if can't think of something better.

C-Loftus commented 4 months ago

Closing in favor of new PR