mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
super duper changes :D
This commit is contained in:
33
modules/hypr/hyprsunset.nix
Normal file
33
modules/hypr/hyprsunset.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
isNixOS,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
services.hyprsunset = {
|
||||
enable = true;
|
||||
package =
|
||||
if isNixOS then
|
||||
pkgs.hyprsunset
|
||||
else
|
||||
(pkgs.writeShellScriptBin "hyprsunset" "exec /usr/bin/hyprsunset \"$@\"");
|
||||
|
||||
settings = {
|
||||
max-gamma = 150;
|
||||
|
||||
profile = [
|
||||
{
|
||||
time = "7:00";
|
||||
identity = true;
|
||||
}
|
||||
{
|
||||
time = "21:00";
|
||||
identity = false;
|
||||
temperature = 4500;
|
||||
gamma = 0.8;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user