1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 17:38:33 +02:00
home-manager/modules/lib
Naïm Favier 6311f4adc3
lib/types: make DAG entries mergeable
Removes the `uniq` constraint on `after` and `before` so that we can
merge multiple definitions for the same DAG entry:

    {
      dag = mkMerge [
        {
          foo = lib.hm.dag.entryBefore [ "bar" ] {
            # definition 1
          };
        }
        {
          foo = lib.hm.dag.entryBefore [ "qux" ] {
            # definition 2
          };
        }
        {
          foo = {
            # definition 3
          };
        }
      ];
    }

In this example `foo` will come before `bar` and `qux`.
2022-07-12 11:47:38 +02:00
..
assertions.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
booleans.nix lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
dag.nix lib: remove top-level with lib 2021-10-31 08:50:53 +01:00
default.nix lib.booleans: add yesNo function (#2818) 2022-04-07 22:36:13 -06:00
file-type.nix lib: remove top-level with lib 2021-10-31 08:50:53 +01:00
gvariant.nix lib: remove top-level with lib 2021-10-31 08:50:53 +01:00
maintainers.nix pistol: add module 2022-06-25 01:00:32 +02:00
shell.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
stdlib-extended.nix lib: add fallback for literalExpression and literalDocBook 2021-10-13 00:16:09 +02:00
strings.nix lib: remove top-level with lib 2021-10-31 08:50:53 +01:00
types-dag.nix lib/types: make DAG entries mergeable 2022-07-12 11:47:38 +02:00
types.nix lib: remove top-level with lib 2021-10-31 08:50:53 +01:00
zsh.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00