options: add display refresh rate
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
eb806ba6f7
commit
a30856f658
2 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
hostname = "mynix";
|
hostname = "mynix";
|
||||||
width = 3440;
|
width = 3440;
|
||||||
height = 1440;
|
height = 1440;
|
||||||
|
refresh = 100;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
|
|
@ -22,6 +22,7 @@ in {
|
||||||
### Hardware
|
### Hardware
|
||||||
width = mkOption {default = 1920;};
|
width = mkOption {default = 1920;};
|
||||||
height = mkOption {default = 1080;};
|
height = mkOption {default = 1080;};
|
||||||
|
refresh = mkOption {default = 60;};
|
||||||
ultrawide = mkOption {default = cfg.width * 9 / 16 > cfg.height;}; # Wider than 16:9
|
ultrawide = mkOption {default = cfg.width * 9 / 16 > cfg.height;}; # Wider than 16:9
|
||||||
hidpi = mkOption {default = cfg.scale > 1;};
|
hidpi = mkOption {default = cfg.scale > 1;};
|
||||||
scale = mkOption {default = 1;};
|
scale = mkOption {default = 1;};
|
||||||
|
|
Loading…
Reference in a new issue