Skip to content
mio-aotearoaPublic

About

Packages packaged and modifications and some utilities/applications for all operating systems

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

nurpkgs

run a program: nix run github:mio-19/nurpkgs#android-translation-layer_patched

every <name>_patched package is also exposed under the patched attribute set, so patched.android-translation-layer and android-translation-layer_patched are the same derivation

see all packages: https://nur.nix-community.org/repos/mio/ How to use (NUR guide) https://nur.nix-community.org/documentation/ You will want to use nur.repos.mio.*

See cachix pins for betterbird linux builds by shelvacu https://app.cachix.org/cache/mio#pins

Too tired to write the build scripts. Free (free as in free beer) LLMs are used and build scripts are generally sloppy here, except for: betterbird

Some packages are fully broken or mostly broken. Some packages are deprecated without a clear marking. I am not putting efforts to maintain this package collections to a quality that is ready to support other users beyond my personal usage, except for: betterbird

  • linux: x86_64-v3, aarch64
  • darwin: aarch64

To use modules: (Note that system isn't defined by default in some contexts. You could define it or replace it with a constant like x86_64-linux)

  imports = [
    inputs.nur.legacyPackages."${system}".repos.mio.modules.zfs-impermanence-on-shutdown
  ];

Toshy: NixOS module nixosModules.toshy (udev, uinput, input group — required for the keymapper unless you already provide those) plus Home Manager module homeModules.toshy (runtime + user files + systemd user services).

# NixOS
imports = [ inputs.mio.nixosModules.toshy ];
# or inputs.mio.legacyPackages.${system}.modules.toshy
services.toshy = { enable = true; users = [ "yourname" ]; };

# Home Manager
imports = [ inputs.mio.homeModules.toshy ];
# or inputs.mio.legacyPackages.${system}.homeModules.toshy
services.toshy.enable = true;
# Optional: keep Command on physical Meta (also on PC keyboards).
services.toshy.keyboardType = "Apple";
# On desktops that do not use KWin: services.toshy.installKwinScript = false;

Use without nur: add to flake.nix inputs


    mio = {
      url = "git+https://github.com/mio-19/nurpkgs.git";
      inputs.nixpkgs.follows = "nixpkgs";
    };

Some packages are only available without nur as they failed to evaluate under nur constraints (no IFD): while update works, document needs no-ifd nix-community/NUR#1020 (comment)

  • gifcurry
  • prospect-mail
  • line
  • notepad-plus-plus
  • adobe-acrobat-reader
  • insta360-studio
  • rclone-browser (qt6)
  • supertuxkart-evolution
inputs.mio.packages.${pkgs.stdenv.hostPlatform.system}.downkyicore
pkgs.nur.repos.mio.downkyicore

inputs.mio.legacyPackages."${system}".modules.howdy
inputs.nur.legacyPackages."${system}".repos.mio.modules.howdy

cache

binary cache is provided as best effort. binary cache is frequently NOT up to date and you will frequently have to build packages from source code because github actions is often not sufficient to compile packages. Solutions to provide up to date binary cache do require money every month

  nix = {
    settings = {
      substituters = [
        "https://mio.cachix.org/"
      ];
      trusted-public-keys = [
        "mio.cachix.org-1:FlupyyLPURqwdRqtPT/LBWKsXY7JKsDkzZQo2K6LeMM="
      ];
    };
  };
--option 'extra-substituters' 'https://mio.cachix.org/' --option extra-trusted-public-keys "mio.cachix.org-1:FlupyyLPURqwdRqtPT/LBWKsXY7JKsDkzZQo2K6LeMM="

sources - where files were copied from / Vendored Packages

files are copied from following locations. some are modified in this repo and some are not.

  • wolfssl: Copied from Nixpkgs commit 3040774c2f99756cc03c28dd78bbcb2bbd4e73f9 (the revision immediately before it was dropped from the tree), to support JNI for art-standalone_patched.
  • python27: Copied from Nixpkgs commit 55280fa56481cd71b53545171eb9ec5ab44c3795 (the revision immediately before cpython 2.7 and its helpers were moved to resholve and subsequently removed from the top-level). It was removed in commit e6871d9800efed3395535a879e323b546d96feab (PR #516241). Details: by-name/py/python27/README.md.
  • pianotrans: Copied from Nixpkgs commit f1e9650b64f293a7accfc69508c1e649b7e6a43a (the revision immediately before it was dropped in 83e6090d1801915f1845f6faa994e5f00a3f9f00).
  • piano-transcription-inference: Copied from Nixpkgs commit 83e6090d1801915f1845f6faa994e5f00a3f9f00 (the revision immediately before it was dropped in bf55b4a6ed1577b567c8b6fb5c8a2eda8c31b869).
  • electron_36-bin: Copied from Nixpkgs commit 4fb0462eccd53802e61d6b0dc70e7d98cc06d167 (the revision immediately before it was removed by "electron_36-bin, electron-chromedriver_36: remove" on 2026-01-29, aliased to throw in nixpkgs on 2026-02-02). Preserved because easyeda-pro ships Electron 36.9.5 and its bundled node_modules native add-ons are compiled against Electron 36's Node ABI. Marked knownVulnerabilities (EOL); allow with NIXPKGS_ALLOW_INSECURE=1 or nixpkgs.config.permittedInsecurePackages.
  • mesh-llm and skippy: Packaging adopted from Nixpkgs PRs #571722 and #581182 by @kleinbem, building the native llama.cpp runtimes (CPU/Vulkan/CUDA/ROCm), MeshLLM web console, and standalone Skippy CLI from source. The runtime packages are now skippy-native-runtime and skippy-native-runtime-vulkan; the old mesh-llm-native-runtime names remain compatibility aliases. The NixOS module is proposed separately in #581183.
  • spidermonkey_128 (by-name/ze/zeroad-unwrapped/spidermonkey-128/): Copied from Nixpkgs commit f6bf1059f02576e0b913c7b49d5e4eb6dda9cc22 (the previous flake pin, the last revision that still shipped it). 0 A.D. 0.28 only supports mozjs 128, which nixpkgs has since dropped.
  • zeroad, zeroad-data, zeroad-unwrapped (by-name/ze/): Copied from Nixpkgs commit f6bf1059f02576e0b913c7b49d5e4eb6dda9cc22 (the previous flake pin, the last revision that still shipped them); Nixpkgs removed them in b1d7086fb773ea89ab8b6d0cd05678ac3153b671 (2026-11-08) over the end-of-life mozjs 128. zeroad-unwrapped/package.nix differs from that copy only by using the vendored spidermonkey_128 above and by building 0 A.D. against icu75 (the ICU nixpkgs builds that mozjs against): 0 A.D. pins no ICU itself and takes whatever pkg-config icu-i18n/icu-uc offers, which would mix it with the engine's ICU.
  • zeroad_patched (by-name/ze/zeroad_patched/): 0 A.D. 0.28.0 built against nixpkgs' spidermonkey_140; spidermonkey-140.patch is upstream PR #9350 ("Update SpiderMonkey to ESR 140.1", 10 commits by Itms and Ralph Sennhauser) adapted to the 0.28.0 release: only the file renames between 0.28.0 and the PR's base are translated (Engine.h → ScriptEngine.h, Interface.cpp → ScriptInterface.cpp, Context.cpp → ScriptContext.cpp, Conversions.cpp → ScriptConversions.cpp, Exceptions.* → ScriptExceptions.*), and its vendored-mozjs/CI hunks are dropped because Nixpkgs supplies system mozjs. 0 A.D. is built against icu77 (the ICU nixpkgs' spidermonkey_140 links, the one Firefox ESR 140 ships) instead of the default icu 78, avoiding the libicuuc.so.77/.78 link conflict without rebuilding mozjs; the Atlas editor's wxWidgets stack (gspell, webkitgtk) still pulls ICU 78 into the closure.

todo - reading

llm policy

headache. use LLM for boring no brain task

Updating packages

Packages with an executable passthru.updateScript can be updated from the repository checkout with:

nix run .#package-name.passthru.updateScript

For example:

nix run .#chatbox.passthru.updateScript

The daily GitHub Actions workflow discovers and runs all executable package update scripts, then commits and pushes any resulting changes. Update scripts implemented as Nix update-script combinator lists are transparently wrapped and executed as well.

More

Cutefish (https://cutefish.org/) is a Wayland desktop. Enable the NixOS module; it registers the session, the lock-screen PAM service and the portals, and installs the shell plus the default applications. Installing one pkgs.cutefish-* package on its own does none of that. Pick Cutefish (Wayland) in an existing display manager, or enable the packaged Cutefish display manager.

imports = [ inputs.mio.nixosModules.cutefish ];
# or inputs.mio.legacyPackages.${system}.modules.cutefish

services.desktopManager.cutefish.enable = true;
services.displayManager.sddm.enable = true; # or gdm / lightdm, or:
# services.displayManager.cutefish-dm.enable = true;
services.displayManager.sddm.wayland.enable = true;

# Automatic login uses the shared display manager options:
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "alice";

# Optional applications (terminal, text editor, video player, calendar,
# system monitor, calculator) can be dropped individually:
environment.cutefish.excludePackages = [ pkgs.cutefish-video-player ];

The desktop has four VM tests, all on a virtio GPU in QEMU with a screenshot:

  • nix build .#checks.x86_64-linux.cutefish follows the NixOS desktop-manager tests. SDDM logs a user into the Wayland session, and the test checks the registered session file, the compositor, session and shell processes, the logind session type, the session environment, the portal backend, environment.cutefish.excludePackages, and that nothing coredumped.
  • nix build .#checks.x86_64-linux.cutefish-dm does the same with services.displayManager.cutefish-dm.enable and automatic login, and also checks that the daemon owns display-manager.service and its PAM service.
  • nix build .#checks.x86_64-linux.cutefish-dm-greeter boots cutefish-dm without automatic login and checks the login-screen compositor, the greeter user, the greeter PAM service, and the logind greeter session.
  • nix build .#checks.x86_64-linux.cutefish-dm-splash enables boot.plymouth on top of that: the login screen has to take the display over from the boot splash, which keeps DRM master until cutefish-dm quits it.

They boot QEMU VMs and are registered for x86_64-linux only.

Languages besides the ones in i18n.supportedLocales are not generated into the NixOS locale archive.

About

Packages packaged and modifications and some utilities/applications for all operating systems

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages