chore: move pipewire conf into shared file
This commit is contained in:
parent
15e84c58e0
commit
300c34bdf1
5 changed files with 12 additions and 16 deletions
|
@ -39,12 +39,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
|
@ -90,8 +84,6 @@
|
||||||
eza
|
eza
|
||||||
bat
|
bat
|
||||||
swaynotificationcenter
|
swaynotificationcenter
|
||||||
pipewire
|
|
||||||
wireplumber
|
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
|
@ -149,6 +149,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
|
@ -158,13 +159,6 @@
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
./home-manager.nix
|
./home-manager.nix
|
||||||
./system/mime.nix
|
./system/mime.nix
|
||||||
./env.nix
|
./env.nix
|
||||||
./printing.nix
|
./system/printing.nix
|
||||||
|
./system/audio.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
9
modules/system/audio.nix
Normal file
9
modules/system/audio.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
# Enables wireplumber automatically
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue