From cba236a86b0a6cd33ec10097c17dcb0d117215a1 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 15 Oct 2024 16:45:59 +0200 Subject: [PATCH] system/services: disable fingerprint for login --- system/services/default.nix | 2 +- system/services/greetd.nix | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/system/services/default.nix b/system/services/default.nix index 8eb522a..81b0815 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -1,3 +1,3 @@ { - imports = [./docker.nix ./gnupg.nix ./pipewire.nix]; + imports = [./docker.nix ./gnupg.nix ./pipewire.nix ./kmscon.nix]; } diff --git a/system/services/greetd.nix b/system/services/greetd.nix index 2bb3b14..6a651a3 100644 --- a/system/services/greetd.nix +++ b/system/services/greetd.nix @@ -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; + }; }