diff --git a/flake.nix b/flake.nix index 09a484d..5572bc2 100644 --- a/flake.nix +++ b/flake.nix @@ -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; diff --git a/systems/mobile/default.nix b/systems/mobile/default.nix new file mode 100644 index 0000000..d656068 --- /dev/null +++ b/systems/mobile/default.nix @@ -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" + ]; +}