mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 09:29:02 +08:00
system.security.sudo: enable pwfeedback
This commit is contained in:
parent
73c29c5f82
commit
05dddf63b1
@ -4,7 +4,9 @@ inputs:
|
|||||||
{
|
{
|
||||||
# allow non-root users to access intel gpu performance counters
|
# allow non-root users to access intel gpu performance counters
|
||||||
boot.kernel.sysctl."dev.i915.perf_stream_paranoid" = false;
|
boot.kernel.sysctl."dev.i915.perf_stream_paranoid" = false;
|
||||||
security.pam =
|
security =
|
||||||
|
{
|
||||||
|
pam =
|
||||||
{
|
{
|
||||||
u2f =
|
u2f =
|
||||||
{
|
{
|
||||||
@ -30,5 +32,7 @@ inputs:
|
|||||||
};
|
};
|
||||||
yubico = { enable = true; id = "91291"; };
|
yubico = { enable = true; id = "91291"; };
|
||||||
};
|
};
|
||||||
|
sudo.extraConfig = "Defaults pwfeedback";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user