feat(linux): add Nix flake for one-command install & github action#886
Conversation
…rkflow Adds a Nix flake so users can run `nix run github:OpenWhispr/openwhispr` without writing their own derivation. Includes a GitHub Action that auto-PRs version bumps when new releases are published. Closes OpenWhispr#728 (solution 1)
|
Didn't bother working on the whole issue since benedikt-weyer in #728 already made a PR for nixpkgs. |
|
@gabrielste1n is the failing check my fault and I need to fix something, cause from the logs it looks like a missing env var and not anything to do with my PR? |
Not your fault, the windows build and notarize always fail in PR |
|
Pushed a few commits on top to round this out for #728 — kept your original work, the auto-bump action and flake.lock as is. What changed:
NixOS setup for users: {
inputs.openwhispr.url = "github:OpenWhispr/openwhispr";
# in your nixosConfigurations modules:
imports = [ openwhispr.nixosModules.default ];
programs.openwhispr = {
enable = true;
users = [ "yourname" ];
};
}Verified with nix build and by evaluating the module in a nixosSystem (ydotool and uinput on, user in both groups). The 1.7.2 AppImage hash matches your pin, tsc is clean, and all 10 locale files validate. Still x86_64-linux only. |
Alright, all changes sound good to me. Still a new contributor here, so not yet so intimiately familiar with the project. Thanks for the help. |
|
thanks legends @0x4bs3nt @xAlcahest |
Summary
Adds a Nix flake so users can run
nix run github:OpenWhispr/openwhisprwithout writing their own derivation. Includes a GitHub Action that auto-PRs version bumps when new releases are published.This finishes solution 1 of issue #728 .