move pipewire to its own file
This commit is contained in:
parent
f375357cb4
commit
60d2f5a347
@ -114,23 +114,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
|
||||||
# sound.enable = true;
|
|
||||||
hardware.pulseaudio.enable = false;
|
|
||||||
security.rtkit.enable = true;
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
# If you want to use JACK applications, uncomment this
|
|
||||||
#jack.enable = true;
|
|
||||||
|
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
|
||||||
# no need to redefine it in your config for now)
|
|
||||||
#media-session.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
|
||||||
|
@ -48,7 +48,8 @@
|
|||||||
./configuration.nix {
|
./configuration.nix {
|
||||||
networking.hostName = "kremzeek";
|
networking.hostName = "kremzeek";
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
sound.enable = true;
|
# sound.enable = true;
|
||||||
|
# hardware.pulseaudio.enable = true;
|
||||||
}
|
}
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
@ -79,6 +80,7 @@
|
|||||||
sound.enable = true; # only on unstable?
|
sound.enable = true; # only on unstable?
|
||||||
}
|
}
|
||||||
./hardware/galvatron-hw.nix
|
./hardware/galvatron-hw.nix
|
||||||
|
./modules/sound/pipewire.nix
|
||||||
inputs.apple-silicon.nixosModules.apple-silicon-support
|
inputs.apple-silicon.nixosModules.apple-silicon-support
|
||||||
inputs.home-manager-unstable.nixosModules.home-manager {
|
inputs.home-manager-unstable.nixosModules.home-manager {
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
@ -101,6 +103,7 @@
|
|||||||
}
|
}
|
||||||
./server/services.nix
|
./server/services.nix
|
||||||
./hardware/breakdown-hw.nix
|
./hardware/breakdown-hw.nix
|
||||||
|
./modules/sound/pipewire.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
@ -123,6 +126,7 @@
|
|||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
}
|
}
|
||||||
./hardware/starscream-hw.nix
|
./hardware/starscream-hw.nix
|
||||||
|
./modules/sound/pipewire.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
@ -150,6 +154,7 @@
|
|||||||
}
|
}
|
||||||
./modules/droidcam-obs.nix # only this machine
|
./modules/droidcam-obs.nix # only this machine
|
||||||
./hardware/knockout-hw.nix
|
./hardware/knockout-hw.nix
|
||||||
|
./modules/sound/pipewire.nix
|
||||||
inputs.home-manager-unstable.nixosModules.home-manager
|
inputs.home-manager-unstable.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
19
modules/sound/pipewire.nix
Normal file
19
modules/sound/pipewire.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ config, lib, pkgs, nixos-unstable, inputs, ... }:
|
||||||
|
{
|
||||||
|
# Enable sound with pipewire.
|
||||||
|
sound.enable = true;
|
||||||
|
hardware.pulseaudio.enable = false;
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
# If you want to use JACK applications, uncomment this
|
||||||
|
#jack.enable = true;
|
||||||
|
|
||||||
|
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||||
|
# no need to redefine it in your config for now)
|
||||||
|
#media-session.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user