This commit is contained in:
2026-04-25 12:52:04 -05:00
parent b77d4a0d96
commit 9805e11b9c
2 changed files with 15 additions and 2 deletions

View File

@@ -1,5 +1,19 @@
{ self, inputs, ... }: {
flake.nixosModules.pi4-install-sd = { config, pkgs, modulesPath, ... }: {
imports = with self.nixosModules; [
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
pi4-core
];
config = {
};
};
flake.nixosModules.pi4-install-disko = { config, pkgs, ... }: {
imports = with self.nixosModules; [
@@ -15,7 +29,6 @@
};
};
flake.nixosModules.pi4 = { config, pkgs, ... }: {
imports = with self.nixosModules; [

View File

@@ -1,7 +1,7 @@
{ self, inputs, ... }: {
perSystem = { ... }: {
packages.pi4-sd = self.nixosConfigurations.pi4-install.config.system.build.sdImage;
packages.pi4-sd = self.nixosConfigurations.pi4-install-sd.config.system.build.sdImage;
};
flake.nixosConfigurations.pi4 = inputs.nixpkgs.lib.nixosSystem {