]> Skullheadx's Git Forge - nixos.git/commitdiff
hyprsunset test
authorAndrew <admonty1@protonmail.com>
Thu, 21 Aug 2025 22:52:13 +0000 (18:52 -0400)
committerAndrew <admonty1@protonmail.com>
Thu, 21 Aug 2025 22:52:13 +0000 (18:52 -0400)
home.nix
hyprsunset.nix [new file with mode: 0644]

index dc738809ca921b6367ab77b2a1b8682b86c4a6dd..ee3bf10f3cdfcc4f2debebf5471dd648bc4f98b0 100644 (file)
--- 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
     #  };
   };
 
-
   xdg.portal = {
     enable = true;
     extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
diff --git a/hyprsunset.nix b/hyprsunset.nix
new file mode 100644 (file)
index 0000000..2994adf
--- /dev/null
@@ -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"
+        ];
+      };
+    };
+  };
+
+}