modules: Extract mkAliasDefinition from the rename.nix NixOS module.
This commit is contained in:
@@ -55,8 +55,8 @@ let
|
||||
apply = x: use (toOf config);
|
||||
inherit visible;
|
||||
});
|
||||
}
|
||||
{ config = setTo (mkMerge (if (fromOf options).isDefined then [ (define (mkMerge (fromOf options).definitions)) ] else []));
|
||||
|
||||
config = setTo (mkAliasAndWrapDefinitions define (fromOf options));
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user