Add loki-test

This commit is contained in:
Andreas Zweili 2022-09-16 12:23:48 +02:00
parent d4de8a2677
commit 61c24ad33a
4 changed files with 21 additions and 4 deletions

View File

@ -60,6 +60,10 @@
hostname = "git";
inherit custom inputs;
};
loki-test = mkRaspi {
hostname = "loki-test";
inherit custom inputs;
};
mail = mkComputer {
hostname = "mail";
inherit custom inputs;

View File

@ -0,0 +1,5 @@
{ ... }: {
boot.kernel.sysctl = {
"net.ipv4.conf.all.forwarding" = true;
};
}

View File

@ -0,0 +1,12 @@
{ hostname, inputs, pkgs, ... }:
{
imports = [
(import "${inputs.self}/systems/raspi4" {
ip = "10.7.89.10";
inherit hostname inputs pkgs;
})
"${inputs.self}/modules/docker"
"${inputs.self}/modules/router"
"${inputs.self}/modules/tmux"
];
}

View File

@ -10,10 +10,6 @@
};
};
hardware.raspberry-pi."4".fkms-3d.enable = true;
hardware.raspberry-pi."4".audio.enable = true;
hardware.pulseaudio.enable = true;
environment.systemPackages = with pkgs; [
raspberrypi-eeprom
];