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" ]; }; } diff --git a/machines/p330/home-mandlm.nix b/machines/p330/home-mandlm.nix index f7a2ec3..bc8b537 100644 --- a/machines/p330/home-mandlm.nix +++ b/machines/p330/home-mandlm.nix @@ -18,5 +18,5 @@ programs.kitty.font.size = 16; - services.screen-locker.inactiveInterval = 20; + services.betterlockscreen.inactiveInterval = 20; }