1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-12 12:59:49 +01:00
home-manager/tests/modules/services/redshift-gammastep/gammastep-basic-configuration.nix

27 lines
532 B
Nix
Raw Normal View History

2021-01-23 23:07:42 +01:00
{ 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}
'';
};
}