change default monitors from [] to {}
This commit is contained in:
parent
85d44f87cf
commit
639b78d9d0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue