From 639b78d9d008cb573c98365f45b518b7f01b04b4 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Mon, 13 May 2024 22:58:31 +0200 Subject: [PATCH] change default monitors from [] to {} --- modules/other/hardware.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/other/hardware.nix b/modules/other/hardware.nix index 3d5aa54..e10d9d4 100644 --- a/modules/other/hardware.nix +++ b/modules/other/hardware.nix @@ -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;