2023-11-11 00:06:42 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2022-08-21 21:56:42 +00:00
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
psCfg = config.pub-solar;
|
|
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
|
|
|
|
services.gammastep = {
|
|
|
|
enable = true;
|
|
|
|
latitude = psCfg.user.latitude;
|
|
|
|
longitude = psCfg.user.longitude;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|