This commit is contained in:
Gregory Burd 2023-10-02 16:59:29 +00:00
parent 66aad8d708
commit 8d55e8d947
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
};
# Helper function for generating host configs
mkHost = { hostname, username, desktop ? null, installer ? null }: inputs.nixpkgs.lib.nixosSystem {
mkHost = { hostname, username, desktop ? null, installer ? null, platform ? "x86_64-linux" }: inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs desktop hostname username stateVersion;
};

View file

@ -56,6 +56,6 @@
lidSwitchExternalPower = "lock";
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
nixpkgs.hostPlatform = lib.mkDefault "${platform}";
}