From f59b4cb8d545d3bb1bd954f9e3267cb7ebec3557 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Sat, 7 Sep 2019 01:33:33 +0200 Subject: nixos/tests/login: fix the seat test by loading sound drivers 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. --- nixos/tests/login.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/login.nix b/nixos/tests/login.nix index 9844ad492e8..2a7c063d303 100644 --- a/nixos/tests/login.nix +++ b/nixos/tests/login.nix @@ -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 = -- cgit 1.4.1