move v4l2 stuff to options
This commit is contained in:
parent
0ff36555f9
commit
db1377cdd8
4 changed files with 13 additions and 2 deletions
|
@ -9,8 +9,6 @@
|
|||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
kernelParams = [
|
||||
"video=eDP-1:1920x1280@60"
|
||||
];
|
||||
|
|
|
@ -18,6 +18,7 @@ _: {
|
|||
../../options/desktop/power-supply.nix
|
||||
../../options/desktop/random-mac.nix
|
||||
../../options/desktop/suspend.nix
|
||||
../../options/desktop/v4l2.nix
|
||||
../../options/desktop/waydroid.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@ _: {
|
|||
#../../options/desktop/power-supply.nix
|
||||
../../options/desktop/random-mac.nix
|
||||
../../options/desktop/suspend.nix
|
||||
../../options/desktop/v4l2.nix
|
||||
../../options/desktop/waydroid.nix
|
||||
];
|
||||
}
|
||||
|
|
11
options/desktop/v4l2.nix
Normal file
11
options/desktop/v4l2.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
v4l2loopback
|
||||
];
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue