diff --git a/nixos/tests/systemd.nix b/nixos/tests/systemd.nix index 344d675c5fe2..3168c026d514 100644 --- a/nixos/tests/systemd.nix +++ b/nixos/tests/systemd.nix @@ -83,5 +83,11 @@ import ./make-test.nix ({ pkgs, ... }: { $machine->waitForUnit('multi-user.target'); $machine->succeed('test -e /tmp/shared/shutdown-test'); }; + + # Test settings from /etc/sysctl.d/50-default.conf are applied + subtest "systemd sysctl settings are applied", sub { + $machine->waitForUnit('multi-user.target'); + $machine->succeed('sysctl net.core.default_qdisc | grep -q "fq_codel"'); + }; ''; })