diff options
author | Bruno Bigras <bigras.bruno@gmail.com> | 2020-08-24 09:55:22 -0400 |
---|---|---|
committer | Bruno Bigras <bigras.bruno@gmail.com> | 2020-08-24 10:10:47 -0400 |
commit | 5d36e00b7df86c6675ff3e81349c6badf5f0a0c1 (patch) | |
tree | 68cb83a39577abba17c7ed9ef3960df4e0aa44e6 /nixos/tests/sssd.nix | |
parent | b77d8ead284c4193f84c82d2fcd4a3aa11fbf158 (diff) |
nixos/sssd: fix the module
'system.nssModules' was not set correctly fix #91242
Diffstat (limited to 'nixos/tests/sssd.nix')
-rw-r--r-- | nixos/tests/sssd.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nixos/tests/sssd.nix b/nixos/tests/sssd.nix new file mode 100644 index 0000000000000..4c6ca86c74c8f --- /dev/null +++ b/nixos/tests/sssd.nix @@ -0,0 +1,17 @@ +import ./make-test-python.nix ({ pkgs, ... }: + +{ + name = "sssd"; + meta = with pkgs.stdenv.lib.maintainers; { + maintainers = [ bbigras ]; + }; + machine = { pkgs, ... }: { + services.sssd.enable = true; + }; + + testScript = '' + start_all() + machine.wait_for_unit("multi-user.target") + machine.wait_for_unit("sssd.service") + ''; +}) |