1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: use updated gpu-screen-recorder by timschumi which allows root-capture

This commit is contained in:
oddlama 2024-07-05 01:37:41 +02:00
parent 7306bb2cf0
commit b4b21b37fa
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 28 additions and 3 deletions

View file

@ -1,4 +1,5 @@
{
inputs,
config,
lib,
pkgs,
@ -65,4 +66,8 @@ in
# Autologin
services.getty.autologinUser = myuser;
# Allow screen recorder to access the framebuffer as root
imports = ["${inputs.nixpkgs-gpu-screen-recorder}/nixos/modules/programs/gpu-screen-recorder.nix"];
programs.gpu-screen-recorder.wrapCapabilities = true;
}