Add a config for a mobile raspi

This commit is contained in:
Andreas Zweili 2023-03-27 11:49:54 +02:00
parent e7a5d7105a
commit 15b52cfaf0
2 changed files with 18 additions and 0 deletions

View File

@ -43,6 +43,7 @@
proxy = mksdImage "proxy";
mail = mksdImage "mail";
management = mksdImage "management";
mobile = mksdImage "mobile";
nextcloud = mksdImage "nextcloud";
test-raspi = mksdImage "test-raspi";
restic-server = mksdImage "restic-server";
@ -94,6 +95,11 @@
home-module = "management";
inherit custom;
};
mobile = mkRaspi {
hostname = "mobile";
home-module = "management";
inherit custom;
};
restic-server = mkRaspi {
hostname = "restic-server";
inherit custom;

View File

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