Merge pull request #96179 from bbigras/sssd

nixos/sssd: fix the module

authored by Anderson Torres and committed by GitHub fffabfae 213c0043

+21 -1
+3 -1
nixos/modules/services/misc/sssd.nix
··· 69 69 mode = "0400"; 70 70 }; 71 71 72 - system.nssModules = pkgs.sssd; 72 + system.nssModules = [ pkgs.sssd ]; 73 73 system.nssDatabases = { 74 74 group = [ "sss" ]; 75 75 passwd = [ "sss" ]; ··· 92 92 services.openssh.authorizedKeysCommand = "/etc/ssh/authorized_keys_command"; 93 93 services.openssh.authorizedKeysCommandUser = "nobody"; 94 94 })]; 95 + 96 + meta.maintainers = with maintainers; [ bbigras ]; 95 97 }
+1
nixos/tests/all-tests.nix
··· 321 321 spike = handleTest ./spike.nix {}; 322 322 sonarr = handleTest ./sonarr.nix {}; 323 323 sslh = handleTest ./sslh.nix {}; 324 + sssd = handleTestOn ["x86_64-linux"] ./sssd.nix {}; 324 325 strongswan-swanctl = handleTest ./strongswan-swanctl.nix {}; 325 326 sudo = handleTest ./sudo.nix {}; 326 327 switchTest = handleTest ./switch-test.nix {};
+17
nixos/tests/sssd.nix
··· 1 + import ./make-test-python.nix ({ pkgs, ... }: 2 + 3 + { 4 + name = "sssd"; 5 + meta = with pkgs.stdenv.lib.maintainers; { 6 + maintainers = [ bbigras ]; 7 + }; 8 + machine = { pkgs, ... }: { 9 + services.sssd.enable = true; 10 + }; 11 + 12 + testScript = '' 13 + start_all() 14 + machine.wait_for_unit("multi-user.target") 15 + machine.wait_for_unit("sssd.service") 16 + ''; 17 + })