nix: constraint args to only hostname and system

This commit is contained in:
Primrose 2024-07-22 22:03:45 +02:00
parent dad09ed8fd
commit 201b780868
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 19 additions and 10 deletions

View file

@ -20,7 +20,7 @@ let
go =
mkNixOS
(
{ hostname, system, ... }:
{ hostname, system }:
[
{
nixpkgs.hostPlatform = system;
@ -55,7 +55,7 @@ let
mkDarwins = many (
mkDarwin
(
{ hostname, system, ... }:
{ hostname, system }:
[
{
nixpkgs.hostPlatform = system;