Use the correct filter for systems

This commit is contained in:
Natsu Kagami 2022-10-27 21:05:33 +02:00
parent ece3ec0574
commit 686a2f39e1
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
4 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ in
environment.systemPackages = with pkgs; [
pam_u2f # for pamu2fcfg
];
security.pam = mkIf (strings.hasSuffix "linux" pkgs.system) {
security.pam = mkIf pkgs.stdenv.isLinux {
u2f = {
enable = true;
cue = true;