system/services: disable fingerprint for login

This commit is contained in:
Anthony Rodriguez 2024-10-15 16:45:59 +02:00
parent 506dd73644
commit cba236a86b
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 13 additions and 9 deletions

View file

@ -1,3 +1,3 @@
{
imports = [./docker.nix ./gnupg.nix ./pipewire.nix];
imports = [./docker.nix ./gnupg.nix ./pipewire.nix ./kmscon.nix];
}

View file

@ -8,17 +8,21 @@
enable = true;
settings = rec {
initial_session = {
command = "${lib.getExe pkgs.greetd.tuigreet} \
--time \
--asterisks \
--user-menu \
--cmd ${lib.getExe config.programs.niri.package} --session";
command = ''
${lib.getExe pkgs.greetd.tuigreet}
--time
--asterisks
--user-menu
--cmd ${lib.getExe config.programs.niri.package} --session
'';
user = "greeter";
};
default_session = initial_session;
};
};
security.pam.services.login.enableGnomeKeyring = true;
security.pam.services.greetd.enableGnomeKeyring = true;
security.pam.services = {
login.enableGnomeKeyring = true;
greetd.enableGnomeKeyring = true;
greetd.fprintAuth = false;
};
}