This commit is contained in:
albert 2024-05-05 19:30:25 +09:00
parent a6b6cb385d
commit 2d302b4b57
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 1 additions and 2 deletions

View file

@ -1,7 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs.swaylock = { programs.swaylock = {
enable = true; enable = true;
# swaylock-effects has extra effects like image blur and stuff.
package = pkgs.swaylock-effects; package = pkgs.swaylock-effects;
settings = { settings = {
# All <color> options are of the form <rrggbb[aa]>. # All <color> options are of the form <rrggbb[aa]>.
@ -9,6 +8,7 @@
show-failed-attempts = true; show-failed-attempts = true;
effect-blur = "20x8"; effect-blur = "20x8";
screenshots = true; screenshots = true;
fade-in = 0.2;
clock = true; clock = true;
timestr = "%R"; timestr = "%R";

View file

@ -1,7 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
security.pam.yubico = { security.pam.yubico = {
enable = true; enable = true;
debug = true;
control = "required"; control = "required";
mode = "challenge-response"; mode = "challenge-response";
challengeResponsePath = "/run/secrets/yubikey"; challengeResponsePath = "/run/secrets/yubikey";