Try workaround for raspis

This commit is contained in:
Andreas Zweili 2022-09-07 11:50:25 +02:00
parent 5746b2c433
commit 21c5e49270
2 changed files with 11 additions and 2 deletions

View File

@ -99,7 +99,7 @@
};
proxy = mkRaspi {
hostname = "proxy";
inherit custom pkgs inputs;
inherit custom inputs;
};
raspi-test = mkRaspi {
hostname = "raspi-test";

View File

@ -1,4 +1,13 @@
{ custom, hostname, inputs, pkgs, system ? "aarch64-linux", home-module ? "headless" }: inputs.nixpkgs.lib.nixosSystem {
{ custom, hostname, inputs, system ? "aarch64-linux", home-module ? "headless" }:
let
pkgs = import inputs.nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in
inputs.nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit custom inputs; };
modules = (