diff --git a/hardware/alien/default.nix b/hardware/alien/default.nix index c1eca81..996d2bb 100755 --- a/hardware/alien/default.nix +++ b/hardware/alien/default.nix @@ -19,19 +19,6 @@ "usbhid" "sd_mod" ]; - boot.initrd.kernelModules = []; - boot.kernelModules = [ - "v4l2loopback" - "snd-aloop" - "kvm-intel" - ]; - boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback.out]; - boot.extraModprobeConfig = '' - # exclusive_caps: Skype, Zoom, Teams etc. will only show device when actually streaming - # card_label: Name of virtual camera, how it'll show up in Skype, Zoom, Teams - # https://github.com/umlaeute/v4l2loopback - options v4l2loopback exclusive_caps=1 card_label="Virtual Camera" - ''; fileSystems."/" = { device = "/dev/disk/by-uuid/d83ec136-df01-4b9e-a523-6d75726fb904"; diff --git a/hardware/peach/default.nix b/hardware/peach/default.nix index 5aaa82b..bd17956 100644 --- a/hardware/peach/default.nix +++ b/hardware/peach/default.nix @@ -2,9 +2,7 @@ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { - config, lib, - pkgs, modulesPath, ... }: { @@ -13,18 +11,6 @@ ]; boot.initrd.availableKernelModules = ["sdhci_pci"]; - boot.initrd.kernelModules = []; - boot.kernelModules = [ - "v4l2loopback" - "snd-aloop" - ]; - boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback.out]; - boot.extraModprobeConfig = '' - # exclusive_caps: Skype, Zoom, Teams etc. will only show device when actually streaming - # card_label: Name of virtual camera, how it'll show up in Skype, Zoom, Teams - # https://github.com/umlaeute/v4l2loopback - options v4l2loopback exclusive_caps=1 card_label="Virtual Camera" - ''; fileSystems."/" = { device = "/dev/disk/by-label/NixOS"; diff --git a/hardware/vm-generic/default.nix b/hardware/vm-generic/default.nix index 21f3620..658f680 100644 --- a/hardware/vm-generic/default.nix +++ b/hardware/vm-generic/default.nix @@ -3,16 +3,12 @@ # to /etc/nixos/configuration.nix instead. { lib, - pkgs, system, ... }: { imports = []; boot.initrd.availableKernelModules = ["ehci_pci" "xhci_pci" "usbhid" "sr_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = []; - boot.extraModulePackages = []; fileSystems."/" = { device = "/dev/disk/by-label/nixos";