From dd41a39055d7eb54330b5cd0611467e5d687d022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=A9tan=20Lepage?= <33058747+GaetanLepage@users.noreply.github.com> Date: Wed, 12 Mar 2025 14:19:52 +0100 Subject: [PATCH] swaylock: accept path type for settings values (#6607) Allows setting images to file paths. --- modules/programs/swaylock.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/swaylock.nix b/modules/programs/swaylock.nix index 227cd4554..dcfd30c7e 100644 --- a/modules/programs/swaylock.nix +++ b/modules/programs/swaylock.nix @@ -36,7 +36,7 @@ in { package = mkPackageOption pkgs "swaylock" { nullable = true; }; settings = mkOption { - type = with types; attrsOf (oneOf [ bool float int str ]); + type = with types; attrsOf (oneOf [ bool float int path str ]); default = { }; description = '' Default arguments to {command}`swaylock`. An empty set