hosts: define hostPlatform in defined systems
instead of getting them impurely from `builtins.currentSystem`
This commit is contained in:
parent
e3264f1451
commit
00cbc505f3
4 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,7 @@ self = {
|
|||
nixosSystem = import "${inputs.nixpkgs}/nixos/lib/eval-config.nix";
|
||||
mkNixosSystem = path: nixosSystem {
|
||||
inherit lib;
|
||||
system = null;
|
||||
modules = [
|
||||
path
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue