Gammastep: Difference between revisions

imported>Onny
Initial page
 
Phobos (talk | contribs)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
== Installation ==
== Installation ==


Using [[Home-manager]] Gammastep can be enabled for a specific user with the following syntax
Using [[Home Manager]] Gammastep can be enabled for a specific user with the following syntax


<syntaxHighlight lang=nix>
<syntaxhighlight lang="nix">
home-manager.users.myUser = {
services.gammastep = {
  services.gammastep = {
  enable = true;
    enable = true;
  provider = "manual";
    provider = "manual";
  latitude = 49.0;
    latitude = 49.0;
  longitude = 8.4;
    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. The example above uses the geo position <code>latitude</code> and <code>longitude</code> for that.
</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.


== See also ==
== See also ==