From 3b2d7e021d3fb5e9a5b9ac9ebb4679cf3cea91d4 Mon Sep 17 00:00:00 2001
From: Pedro Rey Anca <personal@peprolinbot.com>
Date: Sun, 21 Jul 2024 13:11:15 +0200
Subject: [PATCH] Update Regreet config

---
 modules/core/wayland.nix | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/core/wayland.nix b/modules/core/wayland.nix
index d2619a1..a0bc9f4 100644
--- a/modules/core/wayland.nix
+++ b/modules/core/wayland.nix
@@ -22,8 +22,12 @@
   programs.regreet = {
     enable = true;
     settings = {
-      background.path = pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath;
+      background = {
+        path = pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath;
+        fit = "Cover";
+      };
     };
+    cageArgs = ["-s" "-m" "last"]; # Only show on the last monitor
   };
 
   environment.sessionVariables.XKB_DEFAULT_LAYOUT = "es";