nixpkgs-immich/nixos/tests/sssd.nix
2024-09-17 10:23:40 -06:00

19 lines
399 B
Nix

import ./make-test-python.nix ({ pkgs, ... }:
{
name = "sssd";
meta = with pkgs.lib.maintainers; {
maintainers = [ bbigras ];
};
nodes.machine = { pkgs, ... }: {
services.sssd.enable = true;
};
testScript = ''
start_all()
machine.wait_for_unit("multi-user.target")
machine.wait_for_unit("sssd.service")
machine.succeed("sssctl config-check")
'';
})