dotfiles/user-modules/systemwide/waylock.nix

15 lines
216 B
Nix
Raw Permalink Normal View History

2024-07-19 12:00:55 +00:00
{
lib,
config,
pkgs,
...
}:
with lib;
let
enabled = any (user: user.modules.waylock.enable) (attrValues config.home-manager.users);
2024-07-19 12:00:55 +00:00
in
{
config = mkIf enabled { security.pam.services.waylock = { }; };
}