mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
htop: use attrsOf instead of attrs as settings type
This commit is contained in:
committed by
Robert Helgesson
parent
c7cfdb3864
commit
82378b3f7f
@@ -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 ''
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user