fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Vincent Haupertpam: add yubico optiond8f9dcfb

master
387 B15 linesraw
1{
2  config = {
3    pam.yubico.authorizedYubiKeys.ids = [ "abcdefghijkl" "012345678912" ];
4
5    nmt.script = ''
6      assertFileExists home-files/.yubico/authorized_yubikeys
7      assertFileContent \
8        home-files/.yubico/authorized_yubikeys \
9        ${
10          builtins.toFile "yubico-with-ids-expected.txt"
11          "hm-user:abcdefghijkl:012345678912"
12        }
13    '';
14  };
15}