nixos/home/hyprland/swaylock.nix
Evie Litherland-Smith 3afe79c851 Add stylix, switch to nixpkg hyprland
Add stylix flake and initial config for wallpaper and catppuccin
macchiato scheme. Disabled auto theme to pick each manually

Remove hyprland flake intup to use version in nixpkgs/home-manager for
compat with stylix

Update style of swaylock using stylix
2023-09-26 19:03:50 +01:00

23 lines
607 B
Nix

{ pkgs, ... }: {
stylix.targets.swaylock.enable = true;
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 = "24273a"; # Catppuccin base
# key-hl-color = "b7bdf8"; # Catppuccin lavender
# line-color = "24273a"; # Catppuccin base
# separator-color = "8bd5ca"; # Catppuccin teal
grace = 2;
fade-in = 0.2;
};
};
}