use proper system for different hosts

This commit is contained in:
Zynh Ludwig 2024-02-28 05:01:07 -08:00
parent f0cd40b2a3
commit 71bc549799

View file

@ -11,14 +11,11 @@
};
outputs = { self, nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
nixosConfigurations = {
snowhawk = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
system = "x86_64-linux";
modules = [
./hosts/snowhawk/hardware-configuration.nix
./configuration.nix
@ -27,6 +24,7 @@
};
sprite = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
system = "aarch64-linux";
modules = [
./hosts/sprite/hardware-configuration.nix
./configuration.nix