This commit is contained in:
iFargle 2023-12-14 20:22:22 +09:00
parent 0464f2bcee
commit caad8e6ec3

View file

@ -77,7 +77,7 @@
]; ];
}; };
# Raspberry Pi SD Card image creator # Raspberry Pi SD Card image creator
mkRpiImage = { mkRpiImage = {
hostname , hostname ,
username ? "albert", username ? "albert",
@ -88,7 +88,6 @@
}: inputs.nixpkgs.lib.nixosSystem { }: inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu platform theme format; }; specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu platform theme format; };
system = platform; system = platform;
format = format;
modules = [ modules = [
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix" "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix"