Compare commits
2 commits
5a689decf3
...
72decf93c1
| Author | SHA1 | Date | |
|---|---|---|---|
| 72decf93c1 | |||
| 707f24ab0b |
3 changed files with 14 additions and 1 deletions
11
modules/hardware/misc/fakecam.nix
Normal file
11
modules/hardware/misc/fakecam.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, config, ... }: {
|
||||||
|
boot = {
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
|
kernelModules = [ "v4l2loopback" ];
|
||||||
|
extraModprobeConfig = ''
|
||||||
|
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.v4l-utils ];
|
||||||
|
}
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
./misc/power-button.nix
|
./misc/power-button.nix
|
||||||
./misc/cpu-freq.nix
|
./misc/cpu-freq.nix
|
||||||
./misc/tzupdate.nix
|
./misc/tzupdate.nix
|
||||||
|
./misc/fakecam.nix
|
||||||
./core/hibernation.nix
|
./core/hibernation.nix
|
||||||
./core/firmware.nix
|
./core/firmware.nix
|
||||||
./core/igpu.nix
|
./core/igpu.nix
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
distrobox
|
distrobox
|
||||||
|
|
||||||
ventoy-full-qt
|
ventoy-full-qt
|
||||||
home-manager
|
ffmpeg
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
|
|
@ -53,6 +53,7 @@
|
||||||
lxappearance
|
lxappearance
|
||||||
freerdp
|
freerdp
|
||||||
|
|
||||||
|
home-manager
|
||||||
nix-index
|
nix-index
|
||||||
nixd
|
nixd
|
||||||
nil
|
nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue