diff --git a/home-manager/i3/default.nix b/home-manager/i3/default.nix index 76b8164..bb85a88 100644 --- a/home-manager/i3/default.nix +++ b/home-manager/i3/default.nix @@ -89,8 +89,8 @@ in }; }; - services.screen-locker = { + services.betterlockscreen = { enable = true; - lockCmd = "${pkgs.i3lock}/bin/i3lock --nofork --image /home/mandlm/.config/i3/wallpapers/nix-wallpaper-dracula.png"; + arguments = [ "--update /home/mandlm/.config/i3/wallpapers/nix-wallpaper-dracula.png" ]; }; }