mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +01:00
zathura: Fix the type for config options (#5934)
* zathura: add float to acceptable types for `options` attrset The man page states that the `set` directive can take 4 types of values: INT, FLOAT, STRING, BOOL. But the FLOAT part was missing from the home-manager module * zathura: make type of `programs.zathura.options` more readable Change from cascading mess of `either` to `oneOf`
This commit is contained in:
parent
fcf5e608ac
commit
3ac39b2a8b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ in {
|
|||
|
||||
options = mkOption {
|
||||
default = { };
|
||||
type = with types; attrsOf (either str (either bool int));
|
||||
type = with types; attrsOf (oneOf [ str bool int float ]);
|
||||
description = ''
|
||||
Add {option}`:set` command options to zathura and make
|
||||
them permanent. See
|
||||
|
|
Loading…
Reference in a new issue