From 71bc549799cead291067f68883ce0b4e813e93fd Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 28 Feb 2024 05:01:07 -0800 Subject: [PATCH] use proper system for different hosts --- flake.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 71cf8a2..b14d4ef 100644 --- a/flake.nix +++ b/flake.nix @@ -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