diff --git a/profiles/apollo/default.nix b/profiles/apollo/default.nix index 756de83..7442f5e 100644 --- a/profiles/apollo/default.nix +++ b/profiles/apollo/default.nix @@ -39,8 +39,6 @@ in } ]; - networking.hostName = "${hostname}"; - # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = sysversion; } diff --git a/profiles/apollo/hardware.nix b/profiles/apollo/hardware.nix index 16fd6d4..80294f8 100644 --- a/profiles/apollo/hardware.nix +++ b/profiles/apollo/hardware.nix @@ -11,6 +11,29 @@ intel-media-driver ]; }; + + 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; + + wireplumber.extraConfig.bluetoothEnhancements = { + "monitor.bluez.properties" = { + "bluez5.enable-sbc-xq" = true; + "bluez5.enable-msbc" = true; + "bluez5.enable-hw-volume" = true; + "bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ]; + }; + }; + }; + + environment.systemPackages = with pkgs;[ + # audio control software + pamixer + ]; fileSystems."/home/${username}/tmp" = { diff --git a/profiles/gaea/default.nix b/profiles/gaea/default.nix index cb074e3..0dc6d8b 100644 --- a/profiles/gaea/default.nix +++ b/profiles/gaea/default.nix @@ -58,18 +58,6 @@ in } ]; - environment.systemPackages = with pkgs;[ - # audio control software - pamixer - ]; - - # set hdmi audio default device - hardware.pulseaudio = { - enable = true; - support32Bit = true; - extraConfig = "set-card-profile 1 output:alsa_output.pci-0000_00_1f.3.hdmi-stereo"; - }; - # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = sysversion; } diff --git a/profiles/gaea/hardware.nix b/profiles/gaea/hardware.nix index 2abac50..8815e7c 100644 --- a/profiles/gaea/hardware.nix +++ b/profiles/gaea/hardware.nix @@ -4,7 +4,19 @@ { config, lib, pkgs, modulesPath, username, ... }: { - + + # set hdmi audio default device + hardware.pulseaudio = { + enable = true; + support32Bit = true; + extraConfig = "set-card-profile 1 output:alsa_output.pci-0000_00_1f.3.hdmi-stereo"; + }; + + environment.systemPackages = with pkgs;[ + # audio control software + pamixer + ]; + fileSystems."/home/${username}/tmp" = { device = "none"; diff --git a/profiles/luna/default.nix b/profiles/luna/default.nix index 0a9421c..d57f3f3 100644 --- a/profiles/luna/default.nix +++ b/profiles/luna/default.nix @@ -38,8 +38,6 @@ in } ]; - networking.hostName = "${hostname}"; - - # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion +ssss # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = sysversion; }