mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
swaylock: accept path type for settings values (#6607)
Allows setting images to file paths.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user