1
1
Fork 0

options: add display refresh rate

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-11-06 11:37:37 -06:00
parent eb806ba6f7
commit a30856f658
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@
hostname = "mynix";
width = 3440;
height = 1440;
refresh = 100;
};
boot = {

View file

@ -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;};