nix-files/hosts/common/programs/shadow.nix
Colin 2ee39ca0cc poly_unfill: remove /run/wrappers/bin/unix_chkpwd
non-privileged users don't need to check passwords

well, maybe they do (for desktop unlockers), but i've already solved that :)
2024-05-26 06:37:59 +00:00

12 lines
250 B
Nix

{ config, ... }:
let
cfg = config.sane.programs.shadow;
in
{
sane.programs.shadow = {
sandbox.enable = false; #< `login` can't be sandboxed because it launches a user shell
};
services.getty.loginProgram = "${cfg.package}/bin/login";
}