change default monitors from [] to {}

This commit is contained in:
jacekpoz 2024-05-13 22:58:31 +02:00
parent 85d44f87cf
commit 639b78d9d0
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -55,11 +55,11 @@ in {
};
};
});
default = [];
default = {};
};
};
config = mkIf (cfg.monitors != []) {
config = mkIf (cfg.monitors != {}) {
boot.kernelParams = mapAttrsToList (name: m:
"video=${name}:${toString m.resolution.w}x${toString m.resolution.h}@${toString m.refreshRate}"
) cfg.monitors;