fix: multi arch flake
This commit is contained in:
1 parent
0333885930
commit
b1552b1619
1 file changed
+9
-5
@@ -13,15 +13,19 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, agenix, ... }: {
|
||||
homeConfigurations = {
|
||||
"johannes" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
|
||||
outputs = { self, nixpkgs, home-manager, agenix, ... }:
|
||||
let
|
||||
mkHome = system: home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
modules = [
|
||||
agenix.homeManagerModules.age
|
||||
./home.nix
|
||||
];
|
||||
};
|
||||
in {
|
||||
homeConfigurations = {
|
||||
mac = mkHome "aarch64-darwin";
|
||||
linux = mkHome "x86_64-linux";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user