about summary refs log tree commit diff
path: root/nixpkgs/lib/tests/modules/doRename-condition-enable.nix
blob: e6eabfa6f89ae2a08fd875439b9159e3b3a691ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ config, lib, ... }:
{
  config = {
    services.foo.enable = true;
    services.foo.bar = "baz";
    result =
      assert config.services.foos == { "" = { bar = "baz"; }; };
      true;
  };
}