enable more options for pipewire

This commit is contained in:
Leonardo Eugênio 2022-08-07 15:12:25 -03:00
parent 5cf6554f0e
commit 8febe20c80
3 changed files with 28 additions and 17 deletions

View file

@ -118,13 +118,19 @@ in {
};
services.flatpak.enable = true;
virtualisation.docker.enable = true;
# Enable sound with pipewire.
security.rtkit.enable = true;
## Enable sound with pipewire.
sound.enable = true;
# hardware.pulseaudio.enable = true;
security.rtkit.enable = true;
services.pipewire.enable = true;
# services.pipewire.media-session.enable = true;
services.pipewire.pulse.enable = true;
services.pipewire = {
enable = true;
wireplumber.enable = true;
pulse.enable = true;
alsa.enable = true;
jack.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.

View file

@ -75,7 +75,9 @@
fileSystems."/swap" = {
device = "/dev/disk/by-label/BTRFS_ROOT";
fsType = "btrfs";
options = [ "subvol=swap" ]; # Note these options effect the entire BTRFS filesystem and not just this volume, with the exception of `"subvol=swap"`, the other options are repeated in my other `fileSystem` mounts
options = [
"subvol=swap"
]; # Note these options effect the entire BTRFS filesystem and not just this volume, with the exception of `"subvol=swap"`, the other options are repeated in my other `fileSystem` mounts
};
swapDevices = [{
device = "/swap/swapfile";