fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Anton Mosichqcal: add module8eb8c212

master
400 B18 linesraw
1{ pkgs, lib, ... }:
2
3{
4  programs.qcal.enable = true;
5  accounts.calendar.accounts.test = {
6    qcal.enable = true;
7    remote = { url = "https://example.com/events.ical"; };
8  };
9
10  test.stubs = { qcal = { }; };
11
12  nmt.script = ''
13    assertFileExists home-files/.config/qcal/config.json
14    assertFileContent home-files/.config/qcal/config.json ${
15      ./http-calendar.json-expected
16    }
17  '';
18}