Conversation
|
Are there any compromises or is there full feature parity? |
Well, I haven't noticed any compromises since I've been actively using it since yesterday. |
idle-river
left a comment
There was a problem hiding this comment.
I use Nix on the daily and this looks fine to me. Just wondering if this is specific to X11 or compatible with Wayland as well?
I am using this on wayland, so yeah. |
idle-river
left a comment
There was a problem hiding this comment.
Been using it for a bit, works fine.
|
Thanks for this. I went through it properly:
One thing I would want changed before this goes in. version = builtins.head (builtins.match
.*__version__ = "([^"]+)".*
(builtins.readFile ../vice/__init__.py));And a small one: the |
|
Heads up: main now has a As things stand the version check will fail. On the merge result the flake says 2.13.0 and main says 2.14.0, which is exactly the drift from my last comment. With the |
NixOS cannot use the PKGBUILD or install.sh: there is no /usr to install into and a venv of wheels will not link against the store's Python. nix/package.nix builds the wheel with buildPythonApplication and wraps both entry points with ffmpeg, gpu-screen-recorder, wf-recorder, the clipboard and window tools and cloudflared on PATH, so shutil.which finds them without the user installing anything. It pulls in PyQt6 WebEngine and qtpy by default, so the app gets the Chromium backend rather than falling back to WebKitGTK. nix/module.nix adds services.vice: it installs the package, registers the uaccess udev rule the hotkey listener needs, and defines the user daemon with the same [Unit]/[Service] settings as packaging/vice.service. vice doctor and the update notice also learn about a store install, so they stop telling NixOS users to run yay or delete files Nix owns.
Without it gsr-kms-server is started through pkexec, which asks for a password every time the recorder restarts, including on each settings save.
A hardcoded version drifts every release. The suite runs headless, so the build now runs it too; build/ is removed first since the em-dash guard walks the whole tree and would scan setuptools' copy of the bundle.
Adds NixOS support: a flake,
nix/package.nixand aservices.viceNixOS module that installs the package, the udev rule and the user daemon.Both entry points are wrapped with ffmpeg, gpu-screen-recorder, wf-recorder, the clipboard/window tools and cloudflared on PATH, and PyQt6 WebEngine is included so the Qt backend is used.
vice doctor/uninstallalso recognise a store install instead of suggesting yay.Tested on NixOS unstable: daemon runs, hotkeys work, clips save.