summaryrefslogtreecommitdiffstats
path: root/lib/tests/modules/doRename-condition-enable.nix
blob: a09d7e0919e7153543eb54c518b214f9975829c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, ... }:
{
  config = {
    services.foo.enable = true;
    services.foo.bar = "baz";
    result =
      assert
        config.services.foos == {
          "" = {
            bar = "baz";
          };
        };
      true;
  };
}