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, ... }: {
|
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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user