nixos/home/swaylock/nixos.nix

9 lines
152 B
Nix
Raw Normal View History

2024-02-14 13:04:17 +08:00
{ pkgs
, lib
, config
, ... }: with lib; let
gui = with config.global.gpu; enable && session;
in mkIf gui {
security.pam.services.swaylock = { };
}