summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home.nix4
-rw-r--r--hyprsunset.nix24
2 files changed, 27 insertions, 1 deletions
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"
+ ];
+ };
+ };
+ };
+
+}