forked from fediversity/fediversity
simplify deployment/nixos.nix
This commit is contained in:
parent
cc66348444
commit
2be2c45fdc
1 changed files with 9 additions and 7 deletions
|
|
@ -11,13 +11,15 @@ let
|
||||||
};
|
};
|
||||||
modules = [ configuration ];
|
modules = [ configuration ];
|
||||||
};
|
};
|
||||||
os = {
|
toplevel =
|
||||||
|
{
|
||||||
inherit (eval) pkgs config options;
|
inherit (eval) pkgs config options;
|
||||||
system = eval.config.system.build.toplevel;
|
system = eval.config.system.build.toplevel;
|
||||||
inherit (eval.config.system.build) vm vmWithBootLoader;
|
inherit (eval.config.system.build) vm vmWithBootLoader;
|
||||||
};
|
}
|
||||||
|
.config.system.build.toplevel;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
drv_path = os.config.system.build.toplevel.drvPath;
|
drv_path = toplevel.drvPath;
|
||||||
out_path = os.config.system.build.toplevel;
|
out_path = toplevel;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue