From: Andrew Date: Thu, 21 Aug 2025 22:52:13 +0000 (-0400) Subject: hyprsunset test X-Git-Url: http://git.skullheadx.com/projects/suckless.html?a=commitdiff_plain;h=5a35b5ebdb2d4bac04e837064f115cb79459dcb8;p=nixos.git hyprsunset test --- diff --git a/home.nix b/home.nix index dc73880..ee3bf10 100644 --- a/home.nix +++ b/home.nix @@ -13,6 +13,7 @@ ./hyprpaper.nix ./hypridle.nix ./hyprlock.nix + ./hyprsunset.nix ./ghostty.nix ./obsidian.nix ./fastfetch.nix @@ -58,6 +59,8 @@ wl-clipboard wev obs-studio + # hyprsysteminfo # application to display info about hyprland + # # It is sometimes useful to fine-tune packages, for example, by applying # # overrides. You can do that directly here, just don't forget the # # parentheses. Maybe you want to install Nerd Fonts with a limited number of @@ -141,7 +144,6 @@ # }; }; - xdg.portal = { enable = true; extraPortals = [ pkgs.xdg-desktop-portal-hyprland ]; diff --git a/hyprsunset.nix b/hyprsunset.nix new file mode 100644 index 0000000..2994adf --- /dev/null +++ b/hyprsunset.nix @@ -0,0 +1,24 @@ +{ config, pkgs, ... }: + +{ + services.hyprsunset = { + enable = true; + + settings = { + sunrise = { + calendar = "*-*-* 06:00:00"; + requests = [ + "temperature 6500" + "gamma 100" + ]; + }; + sunset = { + calendar = "*-*-* 22:00:00"; + requests = [ + "temperature 3500" + ]; + }; + }; + }; + +}