v4l2, printing and website

This commit is contained in:
Rouven Seifert 2023-12-01 15:07:47 +01:00
parent 82ca5d6146
commit 0ac9348fd2
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
7 changed files with 91 additions and 25 deletions

View file

@ -8,6 +8,7 @@
./modules/graphics
./modules/greetd
./modules/networks
./modules/printing
./modules/security
./modules/sound
./modules/virtualisation
@ -15,7 +16,14 @@
# Use the systemd-boot EFI boot loader.
boot = {
kernelModules = [ "v4l2loopback" ];
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
extraModulePackages = [
config.boot.kernelPackages.v4l2loopback
];
extraModprobeConfig = ''
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
'';
tmp.useTmpfs = true;
};
systemd.package = pkgs.systemd.override { withHomed = false; };