Add a config for a mobile raspi
This commit is contained in:
parent
e7a5d7105a
commit
15b52cfaf0
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue