From cd4f858d8d8ce94550ee6f440ccb17a67e989eb7 Mon Sep 17 00:00:00 2001 From: kalipso Date: Thu, 8 Dec 2022 00:00:13 +0100 Subject: [PATCH] [lucia] add old conf for testing if it builds on 22.11 --- machines/configuration.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/machines/configuration.nix b/machines/configuration.nix index eac2539..89be54c 100644 --- a/machines/configuration.nix +++ b/machines/configuration.nix @@ -37,6 +37,7 @@ in ]; }; + lucia = nixosSystem { system = "aarch64-linux"; specialArgs.inputs = inputs; @@ -44,4 +45,23 @@ in ./lucia/configuration.nix ]; }; + + rpi1_base_image = nixosSystem { + system = "aarch64-linux"; + modules = [ + "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix" + ./modules/sshd.nix + { + nixpkgs.config.allowUnsupportedSystem = true; + nixpkgs.crossSystem.system = "aarch64-linux"; + + networking.hostName = "rp1_base_image"; + networking.networkmanager.enable = true; + + system.stateVersion = "22.11"; + } + ]; + }; + + }