From 79c213bd64bbe670c4955b85665e7dafd8507f27 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 15 Jan 2025 21:49:55 +0100 Subject: [PATCH] Use default value instead of passing for wallpaper --- home/modules/linux/graphical/wayland.nix | 3 --- home/modules/programs/my-sway/default.nix | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/home/modules/linux/graphical/wayland.nix b/home/modules/linux/graphical/wayland.nix index 2763c99..5996652 100644 --- a/home/modules/linux/graphical/wayland.nix +++ b/home/modules/linux/graphical/wayland.nix @@ -119,9 +119,6 @@ with lib; # settings.experimental.per_monitor_dpi = "true"; # }; - - # Forward wallpaper settings to sway - programs.my-sway.wallpaper = config.linux.graphical.wallpaper; }; } diff --git a/home/modules/programs/my-sway/default.nix b/home/modules/programs/my-sway/default.nix index 36a224f..093f6e5 100644 --- a/home/modules/programs/my-sway/default.nix +++ b/home/modules/programs/my-sway/default.nix @@ -63,7 +63,7 @@ in wallpaper = mkOption { type = types.oneOf [ types.path types.str ]; description = "Path to the wallpaper to be used"; - default = ""; + default = config.linux.graphical.wallpaper; }; terminal = mkOption { type = types.str;