1: Added v4l2loopback and renamed pulseAudio.nix to media.nix

This commit is contained in:
uzy lol 2024-12-17 19:46:24 -08:00
parent 460f385613
commit c3239889c2
2 changed files with 10 additions and 1 deletions

View File

@ -7,7 +7,7 @@
#./hyprland.nix #./hyprland.nix
./syncthing.nix ./syncthing.nix
./kdePlasma.nix ./kdePlasma.nix
./pulseAudio.nix ./media.nix
./suspendThenHibernate.nix ./suspendThenHibernate.nix
./spicetify.nix ./spicetify.nix
./hardware-configuration.nix ./hardware-configuration.nix

View File

@ -1,4 +1,8 @@
{ {
config,
pkgs,
...
}: {
# Enable sound with pipewire. # Enable sound with pipewire.
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
@ -14,4 +18,9 @@
# no need to redefine it in your config for now) # no need to redefine it in your config for now)
#media-session.enable = true; #media-session.enable = true;
}; };
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
boot.kernelModules = [
"v4l2loopback"
];
} }