From 9805e11b9c17feead072ac9871422b1f9aa63291 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 25 Apr 2026 12:52:04 -0500 Subject: [PATCH] test pi4 --- modules/hosts/pi4/configuration.nix | 15 ++++++++++++++- modules/hosts/pi4/default.nix | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/modules/hosts/pi4/configuration.nix b/modules/hosts/pi4/configuration.nix index ae4d528..5964f98 100644 --- a/modules/hosts/pi4/configuration.nix +++ b/modules/hosts/pi4/configuration.nix @@ -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; [ diff --git a/modules/hosts/pi4/default.nix b/modules/hosts/pi4/default.nix index 93aeab1..39d29de 100644 --- a/modules/hosts/pi4/default.nix +++ b/modules/hosts/pi4/default.nix @@ -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 {