mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 15:14:26 +00:00
xdg-desktop-entries: allow icon path type
This commit is contained in:
parent
c5fc157554
commit
b8bb5f291a
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ let
|
|||
|
||||
icon = mkOption {
|
||||
description = "Icon to display in file manager, menus, etc.";
|
||||
type = types.nullOr types.str;
|
||||
type = with types; nullOr (either str path);
|
||||
default = null;
|
||||
};
|
||||
|
||||
|
@ -133,7 +133,7 @@ let
|
|||
description = "Program to execute, possibly with arguments.";
|
||||
};
|
||||
options.icon = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
type = with types; nullOr (either str path);
|
||||
default = null;
|
||||
description = "Icon to display in file manager, menus, etc.";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue