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