This commit is contained in:
iFargle 2023-09-19 10:15:49 +09:00
parent 594ec7a49f
commit 9ea3765c1a

View file

@ -11,6 +11,8 @@
sops-nix.url = "github:Mic92/sops-nix";
doom-emacs.url = "github:nix-community/nix-doom-emacs";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixos-generators.url = "github:/nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, ... } @inputs:
let
@ -40,7 +42,7 @@
"albert@nixos-rpi4-03" = libx.mkHome { hostname = "nixos-rpi4-03"; platform = "aarch64-linux"; };
};
imageConfigurations = {
nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; installer = nixpkgs + "/nixos/modules/installer/sd-card/sd-image-aarch64.nix"; };
nixos-rpi4-img = nixos-generators.nixosGenerate { system = "aarch64-linux"; format = "sd-aarch64"; };
};
};
}