This commit is contained in:
unexplrd
2025-02-06 00:33:06 +02:00
commit 2e6e28ef32
254 changed files with 28562 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
pkgs,
config,
lib,
...
}: {
options = {
component.swaylock.enable =
lib.mkEnableOption "enable swaylock";
};
config = lib.mkIf config.component.swaylock.enable {
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
settings = {
font = "${config.stylix.fonts.serif.name}";
font-size = 25;
indicator-radius = 100;
indicator-thickness = 20;
indicator-idle-visible = true;
# -effect section
screenshots = true;
clock = true;
effect-pixelate = 60;
effect-vignette = "0.5:0.5";
};
};
};
}