use proper system for different hosts

aarch64
Zynh Ludwig 2024-02-28 05:01:07 -08:00
parent f0cd40b2a3
commit 71bc549799
1 changed files with 2 additions and 4 deletions

View File

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