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; enable = true;
settings = rec { settings = rec {
initial_session = { initial_session = {
command = "${lib.getExe pkgs.greetd.tuigreet} \ command = ''
--time \ ${lib.getExe pkgs.greetd.tuigreet}
--asterisks \ --time
--user-menu \ --asterisks
--cmd ${lib.getExe config.programs.niri.package} --session"; --user-menu
--cmd ${lib.getExe config.programs.niri.package} --session
'';
user = "greeter"; user = "greeter";
}; };
default_session = initial_session; default_session = initial_session;
}; };
}; };
security.pam.services = {
security.pam.services.login.enableGnomeKeyring = true; login.enableGnomeKeyring = true;
security.pam.services.greetd.enableGnomeKeyring = true; greetd.enableGnomeKeyring = true;
greetd.fprintAuth = false;
};
} }