initial
This commit is contained in:
30
hosts/dunamis/users/work/desktop/river/swaylock.nix
Normal file
30
hosts/dunamis/users/work/desktop/river/swaylock.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user