16 lines
225 B
Nix
16 lines
225 B
Nix
{ config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.profile.sway;
|
|
in
|
|
{
|
|
config = mkIf cfg.enable {
|
|
programs.swaylock = {
|
|
enable = true;
|
|
settings = {
|
|
show-failed-attempts = true;
|
|
};
|
|
};
|
|
};
|
|
}
|