Don't force u2f on everyone
This commit is contained in:
parent
ee2c46f616
commit
3b569a08e5
|
@ -20,9 +20,10 @@ in
|
|||
};
|
||||
|
||||
# Services
|
||||
# services.sudo.u2fAuth = true;
|
||||
services.sudo.u2fAuth = false;
|
||||
services.login.u2fAuth = true;
|
||||
# services.swaylock.u2fAuth = mkIf (config.services.swaylock.enable) true;
|
||||
services.swaylock.u2fAuth = false;
|
||||
services.sshd.u2fAuth = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@ in
|
|||
};
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
security.pam.services.swaylock.text = readFile "${cfg.package}/etc/pam.d/swaylock";
|
||||
# security.pam.services.swaylock.text = readFile "${cfg.package}/etc/pam.d/swaylock";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue