Skip to content

Commit

Permalink
nixos/tests/login: fix the seat test by loading sound drivers
Browse files Browse the repository at this point in the history
It turned out that /dev/snd/* always exists even if there are no sound
drivers loaded at all. Loading `snd` and `snd_timer` fixes that
situation. It is probably fair to assume someone that wants to use sound
also enables that in the NixOS configuration.
  • Loading branch information
andir committed Sep 8, 2019
1 parent 2b605e9 commit f59b4cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/tests/login.nix
Expand Up @@ -9,6 +9,7 @@ import ./make-test.nix ({ pkgs, latestKernel ? false, ... }:
machine =
{ pkgs, lib, ... }:
{ boot.kernelPackages = lib.mkIf latestKernel pkgs.linuxPackages_latest;
sound.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
};

testScript =
Expand Down

0 comments on commit f59b4cb

Please sign in to comment.