meta: Switch from swaylock to hyprlock

hyprlock matches the other animations of hyprland a bit better and is
overall more pleasant to work with.
This commit is contained in:
Donovan Glover 2024-03-07 22:14:48 -05:00
parent 9ed00dbea0
commit e67230b282
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 5 additions and 24 deletions

View File

@ -20,7 +20,6 @@
./pqiv.nix ./pqiv.nix
./qutebrowser.nix ./qutebrowser.nix
./rofi.nix ./rofi.nix
./swaylock.nix
./thunar.nix ./thunar.nix
./udiskie.nix ./udiskie.nix
./xcursor.nix ./xcursor.nix

View File

@ -5,7 +5,11 @@ let
modifier = "SUPER"; modifier = "SUPER";
in in
{ {
home.packages = with pkgs; [ hyprnome ]; home.packages = with pkgs; [
hyprnome
hypridle
hyprlock
];
xdg.configFile."hypr/gaps.sh" = { xdg.configFile."hypr/gaps.sh" = {
executable = true; executable = true;

View File

@ -1,20 +0,0 @@
{ pkgs, ... }:
{
programs.swaylock = {
package = pkgs.swaylock-effects;
settings = {
show-keyboard-layout = true;
daemonize = true;
effect-blur = "20x2";
clock = true;
indicator = true;
font-size = 25;
indicator-radius = 85;
indicator-thickness = 16;
screenshots = true;
fade-in = 1;
};
};
}

View File

@ -12,8 +12,6 @@
}; };
}; };
security.pam.services.swaylock = { };
services.udisks2 = { services.udisks2 = {
enable = true; enable = true;
mountOnMedia = true; mountOnMedia = true;