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