Gammastep: Difference between revisions
imported>Onny mNo edit summary |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
== Installation == | == Installation == | ||
Using [[Home | Using [[Home Manager]] Gammastep can be enabled for a specific user with the following syntax | ||
< | <syntaxhighlight lang="nix"> | ||
services.gammastep = { | |||
enable = true; | |||
provider = "manual"; | |||
latitude = 49.0; | |||
longitude = 8.4; | |||
}; | }; | ||
</ | |||
</syntaxhighlight> | |||
To properly work, Gammastep needs your location to know when the sun will be setting and it gets dark outside, so that it can automatically adjust your screen temperature accordingly. Replace <code>myUser</code> with your user name running the graphical session and <code>latitude</code> and <code>longitude</code> with your geographical position. | To properly work, Gammastep needs your location to know when the sun will be setting and it gets dark outside, so that it can automatically adjust your screen temperature accordingly. Replace <code>myUser</code> with your user name running the graphical session and <code>latitude</code> and <code>longitude</code> with your geographical position. | ||