mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 00:39:45 +01:00
htop: use attrsOf instead of attrs as settings type
This commit is contained in:
parent
c7cfdb3864
commit
82378b3f7f
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ in {
|
|||
enable = mkEnableOption "htop";
|
||||
|
||||
settings = mkOption {
|
||||
type = types.attrs;
|
||||
type = with types;
|
||||
attrsOf (oneOf [ bool int str (listOf (oneOf [ int str ])) ]);
|
||||
default = { };
|
||||
example = literalExpression ''
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue