fork/home-manager

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

Anton Mosichqcal: add module8eb8c212

master
631 B28 linesraw
1{ pkgs, lib, ... }:
2
3{
4  programs.qcal.enable = true;
5  accounts.calendar.accounts = {
6    http-test = {
7      remote = { url = "https://example.com/events.ical"; };
8      qcal.enable = true;
9    };
10    webdav-test = {
11      remote = {
12        url = "https://cal.example.com/anton/work";
13        userName = "anton";
14        passwordCommand = [ "pass" "show" "calendar" ];
15      };
16      qcal.enable = true;
17    };
18  };
19
20  test.stubs = { qcal = { }; };
21
22  nmt.script = ''
23    assertFileExists home-files/.config/qcal/config.json
24    assertFileContent home-files/.config/qcal/config.json ${
25      ./mixed.json-expected
26    }
27  '';
28}