- Nix 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Check / check (push) Successful in 1m8s
Split out of the nix system flake, where it was one of the derivations under packages/. As its own repo it gets its own CI and its own version bumps. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
| .forgejo/workflows | ||
| .gitignore | ||
| alejandra.toml | ||
| flake.lock | ||
| flake.nix | ||
| package.nix | ||
| README.md | ||
futo-notes
A Nix flake packaging FUTO Notes, a fast, private, local-first note taking app.
Upstream publishes a prebuilt amd64 .deb and nothing else, so this unpacks
that, patches the ELF against nixpkgs' libraries and installs the binary, its
icons and a fixed-up desktop entry. x86_64-linux only.
FUTO Notes is under the Source First License, which nixpkgs classes as unfree.
This flake sets allowUnfree for its own outputs; consumers using
overlays.default build against their own nixpkgs and have to allow it there.
Usage
{
inputs.futo-notes.url = "git+https://git.cumsek.com/flakes/futo-notes";
}
Then either take the package directly:
environment.systemPackages = [inputs.futo-notes.packages.${pkgs.system}.default];
or add the overlay and use pkgs.futo-notes:
nixpkgs.overlays = [inputs.futo-notes.overlays.default];
Updating
Bump version in package.nix to the new upstream release, blank the hash,
and let the build report the correct one. Releases are listed at
https://gitlab.futo.org/futo-notes/futo-notes/-/releases.
Checks
nix flake check -L
Builds the package and runs alejandra, deadnix and statix. CI runs the
same command and nothing else.
Licence
The packaging is trivial; FUTO Notes itself is under the Source First License,
as recorded in meta.license.