make kernel v4l2loopback module follow kernel
also removed some unneccesary options
This commit is contained in:
parent
f00267c144
commit
7b111c0026
1 changed files with 3 additions and 6 deletions
|
@ -4,6 +4,7 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.kernelModules = ["amdgpu"];
|
boot.initrd.kernelModules = ["amdgpu"];
|
||||||
boot.extraModulePackages = [pkgs.linuxPackages.v4l2loopback];
|
boot.extraModulePackages = [config.boot.kernelPackages.v4l2loopback];
|
||||||
boot.kernelModules = ["v4l2loopback"];
|
boot.kernelModules = ["v4l2loopback"];
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
@ -96,13 +97,12 @@
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
services.pulseaudio.enable = false;
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true; # ardour does not seem to be a fan of this
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
wireplumber = {
|
wireplumber = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -112,9 +112,6 @@
|
||||||
};
|
};
|
||||||
}; # This is JSON
|
}; # This is JSON
|
||||||
};
|
};
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
|
||||||
# no need to redefine it in your config for now)
|
|
||||||
#media-session.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
musnix.enable = true;
|
musnix.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue