nixos/home/swaylock/default.nix
Evie Litherland-Smith 21c0dc8176 Switch foot back to alacritty, rearrange some sections
Move stylix target control into individual expressions

Remove thunar

Remove dex, enable systemd services for blueman-applet and
network-manager-applet

Remove mpg123

Qualify package calls in hyprland config using nixpkg definitions

Remove "make switch" from Makefile, replaced by (preferred)
nixos-update
2024-01-30 16:10:12 +00:00

23 lines
587 B
Nix

{
config,
pkgs,
...
}: {
stylix.targets.swaylock.enable = true;
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
# Settings are specifically for swaylock-effects
settings = {
indicator-radius = 100;
indicator-thickness = 10;
indicator-caps-lock = true;
ignore-empty-password = true;
show-failed-attempts = true;
effect-blur = with config.wayland.windowManager.hyprland.settings.decoration.blur; "${toString size}x${toString passes}";
effect-vignette = "0.5:0.5";
fade-in = 0.2;
};
};
}