diff options
-rw-r--r-- | config/default.nix | 6 | ||||
-rw-r--r-- | hosts/shinji/default.nix | 1 | ||||
-rw-r--r-- | programs/hypr/hyprland.nix | 7 |
3 files changed, 13 insertions, 1 deletions
diff --git a/config/default.nix b/config/default.nix index ec432f1..53b59cb 100644 --- a/config/default.nix +++ b/config/default.nix @@ -18,6 +18,12 @@ with lib; let description = "Scaling factor of the monitor."; default = 1.0; }; + + bitdepth = mkOption { + type = types.int; + description = "Monitor color bitdepth"; + default = 8; + }; }; }; diff --git a/hosts/shinji/default.nix b/hosts/shinji/default.nix index df49157..7dc0dea 100644 --- a/hosts/shinji/default.nix +++ b/hosts/shinji/default.nix @@ -27,6 +27,7 @@ inputs.nixpkgs.lib.nixosSystem rec { { name = "eDP-1"; scale = 1.25; + bitdepth = 10; } ]; diff --git a/programs/hypr/hyprland.nix b/programs/hypr/hyprland.nix index f339f8e..a37be7f 100644 --- a/programs/hypr/hyprland.nix +++ b/programs/hypr/hyprland.nix @@ -85,7 +85,7 @@ in { # Monitors monitor = map ( - monitor: "${monitor.name}, highres, auto, ${toString monitor.scale}" + monitor: "${monitor.name}, highres, auto, ${toString monitor.scale}, bitdepth, ${toString monitor.bitdepth}" ) config.monitors; @@ -337,6 +337,11 @@ in { no_update_news = true; no_donation_nag = true; }; + + # Experimental + experimental = { + xx_color_management_v4 = true; + }; }; # end settings }; # end hyprland }; # end home-manager |