21 lines
353 B
Nix
21 lines
353 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
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;
|
|
};
|
|
};
|
|
}
|