RPI image
This commit is contained in:
parent
c36a9c88e3
commit
0464f2bcee
2 changed files with 4 additions and 5 deletions
|
@ -79,7 +79,7 @@
|
|||
};
|
||||
imageConfigurations = {
|
||||
nixos-linode-img = libx.mkMinImage { hostname = "nixos-linode-img"; format = "linode"; };
|
||||
nixos-rpi4-img = libx.mkRpiImage { hostname = "nixos-rpi4-img"; format = "sd-aarch64"; };
|
||||
nixos-rpi4-img = libx.mkRpiImage { hostname = "nixos-rpi4-img"; };
|
||||
nixos-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "iso"; };
|
||||
nixos-iso-desktop = libx.mkImage { hostname = "nixos-iso-desktop"; format = "iso"; desktop = "gnome"; };
|
||||
};
|
||||
|
|
|
@ -77,15 +77,14 @@
|
|||
];
|
||||
};
|
||||
|
||||
# Combines mkHost and mkHome for image building
|
||||
# Raspberry Pi SD Card image creator
|
||||
mkRpiImage = {
|
||||
hostname ,
|
||||
username ? "albert",
|
||||
desktop ? null,
|
||||
platform ? "x86_64-linux",
|
||||
platform ? "aarch64-linux",
|
||||
gpu ? null,
|
||||
theme ? "default",
|
||||
format
|
||||
theme ? "default"
|
||||
}: inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu platform theme format; };
|
||||
system = platform;
|
||||
|
|
Loading…
Reference in a new issue