1: Added v4l2loopback and renamed pulseAudio.nix to media.nix
This commit is contained in:
parent
460f385613
commit
c3239889c2
@ -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
|
||||||
|
|||||||
@ -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"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user