1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-24 09:06:17 +00:00

swaylock: accept path type for settings values (#6607)

Allows setting images to file paths.
This commit is contained in:
Gaétan Lepage 2025-03-12 14:19:52 +01:00 committed by GitHub
parent 5871e21c11
commit dd41a39055
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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