mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 02:18:12 +09:00
webcam
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
boot.kernelModules = [ "uvcvideo" ];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
v4l-utils
|
||||||
|
(ffmpeg-full)
|
||||||
|
];
|
||||||
|
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
./gui.nix
|
./gui.nix
|
||||||
./../modules/core/fingerprint.nix
|
./../modules/core/fingerprint.nix
|
||||||
./../modules/core/power.nix
|
./../modules/core/power.nix
|
||||||
|
./../modules/core/camera.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.moons.imports = [
|
home-manager.users.moons.imports = [
|
||||||
|
|||||||
Reference in New Issue
Block a user