add extra platforms to be able to compile 32bit libraries and cross-compile for arm

This commit is contained in:
Vinzenz Schroeter 2024-11-24 13:18:32 +01:00
parent 50f8fa7953
commit f09ef591c3
2 changed files with 11 additions and 2 deletions

View file

@ -23,7 +23,10 @@ nixpkgs.lib.nixosSystem {
{
networking.hostName = "vinzenz-lpt2";
nix.settings.extra-platforms = [ "aarch64-linux" ];
nix.settings.extra-platforms = [
"aarch64-linux"
"i686-linux"
];
}
{

View file

@ -19,7 +19,13 @@ nixpkgs.lib.nixosSystem {
../../modules/gaming.nix
../../modules/printing.nix
../../modules/podman.nix
{ networking.hostName = "vinzenz-pc2"; }
{
networking.hostName = "vinzenz-pc2";
nix.settings.extra-platforms = [
"aarch64-linux"
"i686-linux"
];
}
{
home-manager.users = {
vinzenz = import ../../home/vinzenz;