1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-01 22:51:03 +01:00
home-manager/tests/modules/services/glance/example-settings.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

33 lines
732 B
Nix

{
services.glance = {
enable = true;
settings = {
server.port = 5678;
pages = [
{
name = "Home";
columns = [
{
size = "full";
widgets = [
{ type = "calendar"; }
{
type = "weather";
location = "London, United Kingdom";
}
];
}
];
}
];
};
};
nmt.script = ''
configFile=home-files/.config/glance/glance.yml
serviceFile=home-files/.config/systemd/user/glance.service
assertFileContent $configFile ${./glance-example-config.yml}
assertFileContent $serviceFile ${./glance.service}
'';
}