mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 21:23:38 +00:00
bdee1be7b3
Manual latitude and longitude setting doesn't work in Redshift.
This reverts commit dd6ee694df
.
26 lines
532 B
Nix
26 lines
532 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
services.gammastep = {
|
|
enable = true;
|
|
provider = "manual";
|
|
latitude = "0.0";
|
|
longitude = "0.0";
|
|
};
|
|
|
|
nixpkgs.overlays = [
|
|
(self: super: {
|
|
gammastep = pkgs.writeScriptBin "dummy-gammastep" "" // {
|
|
outPath = "@gammastep@";
|
|
};
|
|
})
|
|
];
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/systemd/user/gammastep.service \
|
|
${./gammastep-basic-configuration-expected.service}
|
|
'';
|
|
};
|
|
}
|