at 23.11-pre 527 B view raw
1let 2 name = "pam"; 3in 4import ../make-test-python.nix ({ pkgs, ... }: { 5 name = "pam-file-contents"; 6 7 nodes.machine = { ... }: { 8 imports = [ ../../modules/profiles/minimal.nix ]; 9 10 krb5.enable = true; 11 12 users = { 13 mutableUsers = false; 14 users = { 15 user = { 16 isNormalUser = true; 17 }; 18 }; 19 }; 20 }; 21 22 testScript = builtins.replaceStrings 23 [ "@@pam_ccreds@@" "@@pam_krb5@@" ] 24 [ pkgs.pam_ccreds.outPath pkgs.pam_krb5.outPath ] 25 (builtins.readFile ./test_chfn.py); 26})