hosts: define hostPlatform in defined systems

instead of getting them impurely from `builtins.currentSystem`
This commit is contained in:
Wroclaw 2025-04-01 15:37:03 +02:00
parent e3264f1451
commit 00cbc505f3
4 changed files with 6 additions and 0 deletions

View file

@ -38,6 +38,7 @@ self = {
nixosSystem = import "${inputs.nixpkgs}/nixos/lib/eval-config.nix";
mkNixosSystem = path: nixosSystem {
inherit lib;
system = null;
modules = [
path
{