nixpkgs/nixos/tests/pam/pam-file-contents.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
536 B
Nix
Raw Normal View History

let
name = "pam";
in
import ../make-test-python.nix ({ pkgs, ... }: {
2022-06-26 01:14:38 +03:00
name = "pam-file-contents";
nodes.machine = { ... }: {
imports = [ ../../modules/profiles/minimal.nix ];
2023-07-25 00:12:29 +03:00
security.krb5.enable = true;
users = {
mutableUsers = false;
users = {
user = {
isNormalUser = true;
};
};
};
};
testScript = builtins.replaceStrings
[ "@@pam_ccreds@@" "@@pam_krb5@@" ]
[ pkgs.pam_ccreds.outPath pkgs.pam_krb5.outPath ]
(builtins.readFile ./test_chfn.py);
})