make the pi a smaller image

This commit is contained in:
iFargle 2023-12-14 19:41:07 +09:00
parent fb9ef30ce8
commit 185d60f2a7
3 changed files with 2 additions and 3 deletions

View file

@ -79,7 +79,7 @@
};
imageConfigurations = {
nixos-linode-img = libx.mkMinImage { hostname = "nixos-linode-img"; format = "linode"; };
nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; format = "sd-aarch64"; platform = "aarch64-linux"; };
nixos-rpi4-img = libx.mkMinImage { hostname = "nixos-rpi4-img"; format = "sd-aarch64"; platform = "aarch64-linux"; };
nixos-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "iso"; };
nixos-iso-desktop = libx.mkImage { hostname = "nixos-iso-desktop"; format = "iso"; desktop = "gnome"; };
};

View file

@ -77,7 +77,7 @@
];
};
# Combines mkHost and mkHome for image building
# Small version
mkMinImage = {
hostname ,
username ? "albert",

View file

@ -13,7 +13,6 @@
# For cross-architecture builds
boot.binfmt.emulatedSystems = [
"aarch64-linux"
"armv7l-linux"
];
environment.systemPackages = with pkgs; [