mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
xresources: give properties
option more specific type
This more readily allows merging configurations.
This commit is contained in:
parent
acf106ced0
commit
7bd043e9ee
1 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,11 @@ in {
|
|||
|
||||
options = {
|
||||
xresources.properties = mkOption {
|
||||
type = types.nullOr types.attrs;
|
||||
type = with types;
|
||||
let
|
||||
prim = either bool (either int str);
|
||||
entry = either prim (listOf prim);
|
||||
in nullOr (attrsOf entry);
|
||||
default = null;
|
||||
example = literalExample ''
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue