feat: overhaul Nix flake with full Linux support and convenience commands

- Remove rust-overlay dependency, use nixpkgs built-in Rust
- Add comprehensive Linux library dependencies for Chromium browsers
- Set up proper LD_LIBRARY_PATH/NIX_LD for NixOS dynamic linking
- Add nix run apps: setup, dev, tauri-dev, full-dev, build, test, info
- Add AppImage release launcher for NixOS users (v0.17.6)
- Add flake-test CI workflow
- Update release version and hashes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alex Hp
2026-03-24 02:09:28 +04:00
committed by zhom
parent aa2e9e2528
commit cae758f0ab
3 changed files with 362 additions and 59 deletions
+49
View File
@@ -0,0 +1,49 @@
name: Flake Test
on:
pull_request:
paths:
- "flake.nix"
- "flake.lock"
- ".github/workflows/flake-test.yml"
push:
branches:
- main
paths:
- "flake.nix"
- "flake.lock"
- ".github/workflows/flake-test.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
flake:
name: validate-flake
runs-on: ubuntu-22.04
timeout-minutes: 90
steps:
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Evaluate flake outputs
run: nix flake show --all-systems
- name: Check setup app is exposed
run: nix eval .#apps.x86_64-linux.setup.program --raw
- name: Run flake setup app
env:
CI: "true"
run: nix run .#setup
- name: Run flake info app
run: nix run .#info