refactor(nix): update system attribute usage in deploy modules

- Replaced `host.pkgs.system` with `host.pkgs.stdenv.hostPlatform.system` in `default.nix` for consistent attribute referencing.
- Aligns with recent changes in Nixpkgs attribute structure and improves compatibility.
This commit is contained in:
Harald Hoyer 2026-01-19 15:53:21 +01:00
parent 241eeb7d73
commit 22cc56926b
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ rec {
let
host = hosts.${name};
user = host.config.metacfg.user.name or null;
inherit (host.pkgs) system;
system = host.pkgs.stdenv.hostPlatform.system;
in
result
// {

View file

@ -13,7 +13,7 @@ let
inherit (lib) mapAttrsToList concatStringsSep;
inherit (lib.metacfg) override-meta;
formatted-hosts = mapAttrsToList (name: host: "${name},${host.pkgs.system}") hosts;
formatted-hosts = mapAttrsToList (name: host: "${name},${host.pkgs.stdenv.hostPlatform.system}") hosts;
hosts-csv = writeText "hosts.csv" ''
Name,System