From 65f57743dd6cad472e5a06ba01fa05a1ddbe231f Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Fri, 16 May 2025 13:08:30 +0530 Subject: [PATCH] feat: Enable hdr in hyprland Signed-off-by: uttarayan21 --- home/linux/gui.nix | 1 - home/linux/hyprland.nix | 2 +- nixos/mirai/services/default.nix | 1 + nixos/mirai/services/home-assistant.nix | 2 +- nixos/ryu/services/default.nix | 9 +++++---- nixos/ryu/services/mullvad.nix | 5 +++++ nixos/ryu/services/openrgb.nix | 5 +++++ 7 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 nixos/ryu/services/mullvad.nix create mode 100644 nixos/ryu/services/openrgb.nix diff --git a/home/linux/gui.nix b/home/linux/gui.nix index 762eecfa..b6714bf5 100644 --- a/home/linux/gui.nix +++ b/home/linux/gui.nix @@ -34,7 +34,6 @@ steam-run wl-clipboard zed-editor - webcord prismlauncher ]; } diff --git a/home/linux/hyprland.nix b/home/linux/hyprland.nix index 7f7aaf97..5a5b4f68 100644 --- a/home/linux/hyprland.nix +++ b/home/linux/hyprland.nix @@ -54,7 +54,7 @@ source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf"; "render:explicit_sync" = true; monitor = [ - "${device.monitors.primary}, 2560x1440@360, 0x0, 1, transform, 0" + "${device.monitors.primary}, 2560x1440@360, 0x0, 1, transform, 0, bitdepth, 10, cm, hdr" "${device.monitors.secondary}, 2560x1440@170, -1440x-1120, 1, transform, 1" "${device.monitors.tertiary}, 2560x1440@170, 2560x-1120, 1, transform, 3" ]; diff --git a/nixos/mirai/services/default.nix b/nixos/mirai/services/default.nix index 618ed62e..c2eb2cde 100644 --- a/nixos/mirai/services/default.nix +++ b/nixos/mirai/services/default.nix @@ -9,6 +9,7 @@ ./caddy.nix ./fail2ban.nix ./gitea.nix + ./appflowy.nix # ./jellyfin.nix # ./polaris.nix diff --git a/nixos/mirai/services/home-assistant.nix b/nixos/mirai/services/home-assistant.nix index 24a58606..f55780a9 100644 --- a/nixos/mirai/services/home-assistant.nix +++ b/nixos/mirai/services/home-assistant.nix @@ -1,7 +1,7 @@ {pkgs, ...}: { services = { home-assistant = { - enable = false; + enable = true; extraComponents = [ "esphome" "met" diff --git a/nixos/ryu/services/default.nix b/nixos/ryu/services/default.nix index e8fb7c63..a13d2759 100644 --- a/nixos/ryu/services/default.nix +++ b/nixos/ryu/services/default.nix @@ -1,14 +1,15 @@ {...}: { imports = [ - # ./sunshine.nix # ./ollama.nix # ./rsyncd.nix - ./samba.nix - ./tailscale.nix + # ./sunshine.nix # ./zerotier.nix + ./tailscale.nix + ./samba.nix + ./mullvad.nix + ./openrgb.nix ]; services = { # hardware.openrgb.enable = true; - mullvad-vpn.enable = true; }; } diff --git a/nixos/ryu/services/mullvad.nix b/nixos/ryu/services/mullvad.nix new file mode 100644 index 00000000..088e3c7c --- /dev/null +++ b/nixos/ryu/services/mullvad.nix @@ -0,0 +1,5 @@ +{...}: { + services = { + mullvad-vpn.enable = true; + }; +} diff --git a/nixos/ryu/services/openrgb.nix b/nixos/ryu/services/openrgb.nix new file mode 100644 index 00000000..c0b73381 --- /dev/null +++ b/nixos/ryu/services/openrgb.nix @@ -0,0 +1,5 @@ +{...}: { + services = { + hardware.openrgb.enable = true; + }; +}