Compare commits
No commits in common. "1383ff00447b9946d81a0f36cd650827810486c9" and "798c01f48dbb259f810847d1546cea3bb8430faa" have entirely different histories.
1383ff0044
...
798c01f48d
@ -4,59 +4,26 @@ let
|
|||||||
cfg = config.de;
|
cfg = config.de;
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
# Audio
|
||||||
|
sound.enable = true;
|
||||||
|
|
||||||
# enable pulseaudio support for packages
|
# enable pulseaudio support for packages
|
||||||
nixpkgs.config.pulseaudio = true;
|
nixpkgs.config.pulseaudio = true;
|
||||||
|
|
||||||
# realtime audio
|
# realtime pulseaudio
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
services.pipewire = {
|
hardware.pulseaudio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
support32Bit = true;
|
||||||
alsa.support32Bit = true;
|
package = pkgs.pulseaudioFull; # bt headset support
|
||||||
pulse.enable = true;
|
|
||||||
jack.enable = true;
|
|
||||||
|
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
# TODO: switch on connect isn't working for some reason (at least when in kde)
|
||||||
# no need to redefine it in your config for now)
|
extraConfig = "
|
||||||
#media-session.enable = true;
|
load-module module-switch-on-connect
|
||||||
|
load-module module-switch-on-connect ignore_virtual=no
|
||||||
config.pipewire = {
|
";
|
||||||
"context.objects" = [
|
|
||||||
{
|
|
||||||
# A default dummy driver. This handles nodes marked with the "node.always-driver"
|
|
||||||
# properyty when no other driver is currently active. JACK clients need this.
|
|
||||||
factory = "spa-node-factory";
|
|
||||||
args = {
|
|
||||||
"factory.name" = "support.node.driver";
|
|
||||||
"node.name" = "Dummy-Driver";
|
|
||||||
"priority.driver" = 8000;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
factory = "adapter";
|
|
||||||
args = {
|
|
||||||
"factory.name" = "support.null-audio-sink";
|
|
||||||
"node.name" = "Microphone-Proxy";
|
|
||||||
"node.description" = "Microphone";
|
|
||||||
"media.class" = "Audio/Source/Virtual";
|
|
||||||
"audio.position" = "MONO";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
{
|
|
||||||
factory = "adapter";
|
|
||||||
args = {
|
|
||||||
"factory.name" = "support.null-audio-sink";
|
|
||||||
"node.name" = "Main-Output-Proxy";
|
|
||||||
"node.description" = "Main Output";
|
|
||||||
"media.class" = "Audio/Sink";
|
|
||||||
"audio.position" = "FL,FR";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.googlebot.extraGroups = [ "audio" ];
|
users.users.googlebot.extraGroups = [ "audio" ];
|
||||||
|
|
||||||
# bt headset support
|
# bt headset support
|
||||||
|
@ -30,7 +30,6 @@ in {
|
|||||||
# Applications
|
# Applications
|
||||||
users.users.googlebot.packages = with pkgs; [
|
users.users.googlebot.packages = with pkgs; [
|
||||||
chromium keepassxc mumble tigervnc bluez-tools vscodium element-desktop mpv
|
chromium keepassxc mumble tigervnc bluez-tools vscodium element-desktop mpv
|
||||||
nextcloud-client signal-desktop minecraft sauerbraten
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Networking
|
# Networking
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/4CD3-6ED6";
|
{ device = "/dev/disk/by-uuid/8C47-F740";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user