2024-01-06 01:19:35 +01:00
|
|
|
# SPDX-FileCopyrightText: 2020 Simon Bruder <simon@sbruder.de>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2020-12-05 19:44:41 +01:00
|
|
|
{ config, lib, ... }:
|
2020-08-22 17:44:39 +02:00
|
|
|
|
2020-12-05 15:44:58 +01:00
|
|
|
lib.mkIf config.sbruder.gui.enable {
|
2020-08-22 17:44:39 +02:00
|
|
|
hardware.sane.enable = true;
|
2020-12-08 18:48:42 +01:00
|
|
|
|
|
|
|
boot.extraModulePackages = with config.boot.kernelPackages; [
|
|
|
|
v4l2loopback # screen sharing
|
|
|
|
];
|
2020-08-22 17:44:39 +02:00
|
|
|
}
|