2.home-manager/tests/modules/programs/qcal/webdav-calendar.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

24 lines
529 B
Nix

{
programs.qcal = {
enable = true;
defaultNumDays = 23;
timezone = "Europe/Berlin";
};
accounts.calendar.accounts.test = {
qcal.enable = true;
remote = {
url = "https://cal.example.com/anton/work";
userName = "anton";
passwordCommand = [
"pass"
"show"
"calendar"
];
};
};
nmt.script = ''
assertFileExists home-files/.config/qcal/config.json
assertFileContent home-files/.config/qcal/config.json ${./webdav-calendar.json-expected}
'';
}