fix: multi arch flake

This commit is contained in:
johannes committed 2026-08-09 17:11:23 +02:00
1 parent 0333885930
commit b1552b1619
1 file changed
+9 -5
+9 -5
View File
@@ -13,15 +13,19 @@
}; };
}; };
outputs = { self, nixpkgs, home-manager, agenix, ... }: { outputs = { self, nixpkgs, home-manager, agenix, ... }:
homeConfigurations = { let
"johannes" = home-manager.lib.homeManagerConfiguration { mkHome = system: home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."aarch64-darwin"; pkgs = nixpkgs.legacyPackages.${system};
modules = [ modules = [
agenix.homeManagerModules.age agenix.homeManagerModules.age
./home.nix ./home.nix
]; ];
}; };
in {
homeConfigurations = {
mac = mkHome "aarch64-darwin";
linux = mkHome "x86_64-linux";
};
}; };
};
} }