terra: package Tome, add vivaldi + dotnet dev tools

Tome (née AudibleLibrary) is darman's own Photino/.NET desktop app, private
repo on our own gitea. Fetched as a flake input over ssh with darman's
ambient key — same mechanism as any other git input, private or not.

buildDotnetModule package: the Preact/Vite frontend (Tome.App/ClientApp)
builds as its own buildNpmPackage derivation and gets copied into the
published app's wwwroot, since upstream's in-project MSBuild npm target has
no network access in the Nix sandbox. Photino.Native's runtime deps (gtk3,
webkitgtk_4_1, libnotify) are wrapped in — confirmed via readelf/ldd that
this Photino build already targets webkit2gtk-4.1, not the now-removed 4.0.

Also added dotnet-sdk + nodejs to terra for developing Tome locally, and
vivaldi (unfree, extends the existing allowUnfreePredicate).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-24 00:35:13 +02:00
co-authored by Claude Sonnet 5
parent 106c67963e
commit caab166af8
5 changed files with 403 additions and 2 deletions
Generated
+18 -1
View File
@@ -425,7 +425,8 @@
"nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable",
"proton-pass-cli": "proton-pass-cli",
"sops-nix": "sops-nix"
"sops-nix": "sops-nix",
"tome": "tome"
}
},
"sops-nix": {
@@ -463,6 +464,22 @@
"type": "github"
}
},
"tome": {
"flake": false,
"locked": {
"lastModified": 1784844989,
"narHash": "sha256-b9cr5QeVx+GSUTU0Wc85jqhg8FCFIKZ5TI1k4CE2Ca0=",
"ref": "refs/heads/master",
"rev": "4b48640dcd66cdb2e6922a1fc50b28dbfb8b67ef",
"revCount": 45,
"type": "git",
"url": "ssh://gitea@git.mgaction.town:2222/darman/TOME.git"
},
"original": {
"type": "git",
"url": "ssh://gitea@git.mgaction.town:2222/darman/TOME.git"
}
},
"uv2nix": {
"inputs": {
"nixpkgs": [