nixos/home/hyprland/swaylock.nix
Evie Litherland-Smith b102f9e209 Major cleanup for files
Reduce complexity and in flake.nix and be more efficient in re-using
things

Removed some reduandant files in home/ and tidied up the structure
somewhat

Moved things from desktop, gui, etc... to top level

Changed env to shell, indiv shell expressions import relevant others
2023-07-16 17:35:36 +01:00

22 lines
564 B
Nix

{pkgs, ...}: {
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
settings = {
screenshots = true;
clock = true;
indicator = true;
indicator-radius = 100;
indicator-thickness = 7;
effect-blur = "7x5";
effect-vignette = "0.5:0.5";
ring-color = "1e1e2e"; # Catppuccin base
key-hl-color = "b4befe"; # Catppuccin lavender
line-color = "1e1e2e"; # Catppuccin base
separator-color = "585b70"; # Catppuccin surface2
grace = 2;
fade-in = 0.2;
};
};
}