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:
parent
7306bb2cf0
commit
b4b21b37fa
6 changed files with 28 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue