Unverified Commit 238b4078 authored by nicoo's avatar nicoo Committed by GitHub
Browse files

nixos: hardware.pulseaudio → services.pulseaudio (#369391)

parent 47fb7ae5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -141,6 +141,8 @@

- `programs.less.lessopen` is now null by default. To restore the previous behaviour, set it to `''|${lib.getExe' pkgs.lesspipe "lesspipe.sh"} %s''`.

- `hardware.pulseaudio` has been renamed to `services.pulseaudio`.  The deprecated option names will continue to work, but causes a warning.

- `minetest` has been renamed to `luanti` to match the upstream name change but aliases have been added. The new name hasn't resulted in many changes as of yet but older references to minetest should be sunset. See the [new name announcement](https://blog.minetest.net/2024/10/13/Introducing-Our-New-Name/) for more details.

- `racket_7_9` has been removed, as it is insecure. It is recommended to use Racket 8 instead.
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ let
      # services.printing.enable = true;

      # Enable sound.
      # hardware.pulseaudio.enable = true;
      # services.pulseaudio.enable = true;
      # OR
      # services.pipewire = {
      #   enable = true;
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@
  ./config/nix-remote-build.nix
  ./config/nsswitch.nix
  ./config/power-management.nix
  ./config/pulseaudio.nix
  ./config/qt.nix
  ./config/resolvconf.nix
  ./config/shells-environment.nix
@@ -407,6 +406,7 @@
  ./services/audio/mympd.nix
  ./services/audio/navidrome.nix
  ./services/audio/networkaudiod.nix
  ./services/audio/pulseaudio.nix
  ./services/audio/roon-bridge.nix
  ./services/audio/roon-server.nix
  ./services/audio/slimserver.nix
+1 −1
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ in {
    services.displayManager.sessionPackages = lib.mkIf cfg.gamescopeSession.enable [ gamescopeSessionFile ];

    # enable 32bit pulseaudio/pipewire support if needed
    hardware.pulseaudio.support32Bit = config.hardware.pulseaudio.enable;
    services.pulseaudio.support32Bit = config.services.pulseaudio.enable;
    services.pipewire.alsa.support32Bit = config.services.pipewire.alsa.enable;

    hardware.steam-hardware.enable = true;
+1 −1
Original line number Diff line number Diff line
@@ -258,7 +258,7 @@ in
          {
            User = "jackaudio";
            SupplementaryGroups = lib.optional (
              config.hardware.pulseaudio.enable && !config.hardware.pulseaudio.systemWide
              config.services.pulseaudio.enable && !config.services.pulseaudio.systemWide
            ) "users";
            ExecStart = "${cfg.jackd.package}/bin/jackd ${lib.escapeShellArgs cfg.jackd.extraOptions}";
            LimitRTPRIO = 99;
Loading