mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
lib/images: migrate to nixpkgs.hostPlatform
for mkHost
This commit is contained in:
parent
53d2e10607
commit
396a25f797
@ -7,9 +7,9 @@
|
||||
mkHost = { system, extraModules ? [ ], extraArgs ? { }, nixpkgs-channel ? "nixpkgs" }:
|
||||
(lib.makeOverridable inputs."${nixpkgs-channel}".lib.nixosSystem) {
|
||||
# The system of the NixOS system.
|
||||
inherit system lib;
|
||||
inherit lib;
|
||||
specialArgs = extraArgs;
|
||||
modules = extraModules;
|
||||
modules = extraModules ++ [{ nixpkgs.hostPlatform = system; }];
|
||||
};
|
||||
|
||||
# A wrapper around the home-manager configuration function.
|
||||
|
Loading…
Reference in New Issue
Block a user