mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: update system
This commit is contained in:
34
modules/nixos/hardware/q3279vwf.nix
Normal file
34
modules/nixos/hardware/q3279vwf.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.hardware.q3279vwf;
|
||||
in
|
||||
{
|
||||
options.hardware.q3279vwf = {
|
||||
enable = mkEnableOption "Enable optimisations for the AOC Q3279VWF monitor";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
fonts.fontconfig.subpixel.rgba = "bgr";
|
||||
boot.kernelParams = [ "video=2560x1440@75" ];
|
||||
|
||||
home-manager.users.${username}.wayland.windowManager.hyprland.settings = {
|
||||
general.layout = "master";
|
||||
master = {
|
||||
orientation = "center";
|
||||
new_is_master = true;
|
||||
always_center_master = true;
|
||||
mfact = 0.4;
|
||||
};
|
||||
monitor = [ "DP-1,highrr,0x0,1" ];
|
||||
xwayland.force_zero_scaling = true;
|
||||
misc.vrr = 2; # VA suffers from VRR flicker
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user