nix/hm: fix type of settings and cli.settings (#456)

This commit is contained in:
Jeshua Lin 2025-08-22 09:48:26 +08:00 committed by GitHub
parent 660f09959d
commit f2a85494f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@ in {
description = "The package of Caelestia shell"; description = "The package of Caelestia shell";
}; };
settings = mkOption { settings = mkOption {
type = types.attrs; type = types.attrsOf types.anything;
default = {}; default = {};
description = "Caelestia shell settings"; description = "Caelestia shell settings";
}; };
@ -35,7 +35,7 @@ in {
description = "The package of Caelestia CLI"; # Doesn't override the shell's CLI, only change from home.packages description = "The package of Caelestia CLI"; # Doesn't override the shell's CLI, only change from home.packages
}; };
settings = mkOption { settings = mkOption {
type = types.attrs; type = types.attrsOf types.anything;
default = {}; default = {};
description = "Caelestia CLI settings"; description = "Caelestia CLI settings";
}; };