diff options
author | aszlig <aszlig@nix.build> | 2019-09-23 05:47:24 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2019-09-23 05:47:24 +0200 |
commit | fdb57a379baa6fe9f508575fc6711a690f9c92ba (patch) | |
tree | 4f61982bfbcf19ce24afc2fba41355fe5e16af79 /modules/user | |
parent | e1ff1b26045d74eed1f4097f5dcec27fbe1d8042 (diff) |
workstation: Fix latitude/longitude options
The services.redshift.{latitude,longitude} options are deprecated and the replacement for them are the location.{latitude,longitude} options that have been introduced since a while[1]. Both of the new options now use floating point numbers instead of strings, which I changed accordingly (and also rounded them a bit). [1]: https://github.com/NixOS/nixpkgs/commit/c4de0bf49289bc6b1448420dea39d7a5b0f3c374 Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/aszlig/profiles/workstation/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix index 35fd4107..ec195727 100644 --- a/modules/user/aszlig/profiles/workstation/default.nix +++ b/modules/user/aszlig/profiles/workstation/default.nix @@ -122,6 +122,9 @@ in { vuizvui.system.kernel.zswap.enable = true; + location.latitude = 48.4284; + location.longitude = 10.866; + services = { openssh.enable = true; @@ -149,8 +152,6 @@ in { redshift = { enable = true; - latitude = "48.428404"; - longitude = "10.866007"; temperature.day = 5500; temperature.night = 3500; }; |