From 5f8afff0238b224f048e47716aec6376379b3944 Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Sun, 19 Oct 2025 21:23:51 +0200 Subject: [PATCH] Add kwin night light configuration with location-based settings --- TODO.md | 2 +- home-modules/plasma.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 1abbdb3..f9507aa 100644 --- a/TODO.md +++ b/TODO.md @@ -14,7 +14,7 @@ - menedżer plików - rozwinięty terminal - ukryte pliki - - tryb nocny włączyć + - [*] tryb nocny włączyć - zarządzanie zasilaniem - wyłączyć usypianie na pc - rozpoczynanie posiedzenia pustym pulpitem, nie przywracanie poprzednich aplikacji diff --git a/home-modules/plasma.nix b/home-modules/plasma.nix index cafa205..267c2ed 100644 --- a/home-modules/plasma.nix +++ b/home-modules/plasma.nix @@ -55,6 +55,19 @@ input.touchpads = lib.mkIf (osConfig.lumpiasty.touchPad.enable == true) [ osConfig.lumpiasty.touchPad ]; + + kwin.nightLight = { + enable = true; + mode = "location"; + location = { + latitude = "49.5"; + longitude = "19.5"; + }; + temperature = { + day = null; + night = 3500; + }; + }; }; }; } \ No newline at end of file