Set geographical location system-wide

upower
Simon Bruder 2021-07-25 08:36:19 +02:00
parent 0c74cdbbdd
commit 11f7ac50ca
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
2 changed files with 8 additions and 2 deletions

View File

@ -10,4 +10,9 @@
console.keyMap = "de"; console.keyMap = "de";
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
location = {
latitude = 49.52;
longitude = 10.17;
};
} }

View File

@ -1,8 +1,9 @@
{ nixosConfig, ... }:
{ {
services.gammastep = { services.gammastep = {
enable = true; enable = true;
latitude = "49.52"; inherit (nixosConfig.location) latitude longitude;
longitude = "10.17";
temperature = { temperature = {
day = 6500; day = 6500;
night = 3500; night = 3500;