From a30856f65880625988f6cd2bd56c66f71b73f6ba Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 6 Nov 2024 11:37:37 -0600 Subject: [PATCH] options: add display refresh rate Signed-off-by: Myned --- machines/mynix/default.nix | 1 + options/custom/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/machines/mynix/default.nix b/machines/mynix/default.nix index 9e8e135..98d9e0c 100644 --- a/machines/mynix/default.nix +++ b/machines/mynix/default.nix @@ -8,6 +8,7 @@ hostname = "mynix"; width = 3440; height = 1440; + refresh = 100; }; boot = { diff --git a/options/custom/default.nix b/options/custom/default.nix index 9e4cda0..ea3e5bb 100644 --- a/options/custom/default.nix +++ b/options/custom/default.nix @@ -22,6 +22,7 @@ in { ### Hardware width = mkOption {default = 1920;}; height = mkOption {default = 1080;}; + refresh = mkOption {default = 60;}; ultrawide = mkOption {default = cfg.width * 9 / 16 > cfg.height;}; # Wider than 16:9 hidpi = mkOption {default = cfg.scale > 1;}; scale = mkOption {default = 1;};