From 790f82e530c7c34b8685ee6a52ddbecf70639c6f Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Wed, 28 Jan 2026 12:29:40 +0100 Subject: Format and format --- home-modules/desktop/hyprland.nix | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'home-modules/desktop/hyprland.nix') diff --git a/home-modules/desktop/hyprland.nix b/home-modules/desktop/hyprland.nix index 442910e..3a5864a 100644 --- a/home-modules/desktop/hyprland.nix +++ b/home-modules/desktop/hyprland.nix @@ -22,7 +22,7 @@ with lib; homeprogs.waybar.enable = true; homeprogs.mako.enable = true; - homeprogs.mako.systemdWantedBy = [ "hyprland-session.target" ]; + homeprogs.mako.systemdWantedBy = [ "hyprland-session.target" ]; # Environment variables for hyprland. # This can be used to configure wayland/hyprland-specific things home.file.".config/uwsm/env-hyprland".text = '' @@ -254,7 +254,7 @@ with lib; }; systemd.user.services.hyprpaper = { - Install.WantedBy = [ "hyprland-session.target"]; + Install.WantedBy = lib.mkForce [ "hyprland-session.target" ]; }; services.hyprpaper = { enable = true; @@ -305,33 +305,36 @@ with lib; }; services.hyprsunset = { enable = true; - systemdTarget = "hyprland-session.target"; + systemdTarget = "hyprland-session.target"; settings = { max-gamma = 140; profile = [ - { # Morning + { + # Morning time = "07:00"; - identity = true; + identity = true; # temperature = 6500; gamme = 1; } - { # Evening + { + # Evening time = "19:00"; - temperature = 4000; + temperature = 4000; gamma = 0.6; } - { # Night + { + # Night time = "22:00"; - temperature = 3000; + temperature = 3000; gamma = 0.4; } ]; }; }; - services.hypridle = { + services.hypridle = { enable = true; - systemdTarget = "hyprland-session.target"; + systemdTarget = "hyprland-session.target"; settings = { general = { lock_cmd = "pidof hyprlock || hyprlock"; -- cgit v1.3.1