mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
26 lines
312 B
Nix
26 lines
312 B
Nix
![]() |
{ lib, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
(lib.doRename {
|
||
|
from = [
|
||
|
"a"
|
||
|
"b"
|
||
|
];
|
||
|
to = [
|
||
|
"c"
|
||
|
"d"
|
||
|
"e"
|
||
|
];
|
||
|
warn = true;
|
||
|
use = x: x;
|
||
|
visible = true;
|
||
|
})
|
||
|
];
|
||
|
options = {
|
||
|
c.d.e = lib.mkOption { };
|
||
|
};
|
||
|
config = {
|
||
|
a.b = 1234;
|
||
|
};
|
||
|
}
|