dotfiles/modules/users/systemwide/waylock.nix

10 lines
212 B
Nix
Raw Normal View History

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