add yodaNas

This commit is contained in:
Daniel Langbein 2023-09-26 18:51:17 +02:00
parent 4494517242
commit 4a015ef505
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
4 changed files with 29 additions and 10 deletions

View File

@ -1,8 +1,9 @@
# 2022-12 yodaNas with Arch Linux
#[p1st.de]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIASF7AJeGIkQG0erOJym8bHLBjRClkdPPCDNZAKOZ6S+
# 2023-09 yodaNas with NixOS
192.168.178.27 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHalprb0uOHjvchbyU5dV/qpRqMs8tkQCGZ3O4K9+DMH
[192.168.178.27]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHalprb0uOHjvchbyU5dV/qpRqMs8tkQCGZ3O4K9+DMH
[p1st.de]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHalprb0uOHjvchbyU5dV/qpRqMs8tkQCGZ3O4K9+DMH
# 2023-09 yodaNas with NixOS SSH FDE unlcok
[192.168.178.27]:2223 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK0bfqbAh6E3sq82sg+ftcYLn7sPqCpPmPniL5Ey42Js
[p1st.de]:2223 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK0bfqbAh6E3sq82sg+ftcYLn7sPqCpPmPniL5Ey42Js
# 2023-09 yodaTux NixOS early SSH FDE unlock
[yodaTux.localhost]:22 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1QKkJg9ekAAxTADCXIvHylrYOc6EdEyKUmKaQhaW3e

View File

@ -71,4 +71,17 @@ in
tags = [ "server" ];
};
};
yodaNas = { name, nodes, ... }: {
# Import the per-host configuration file.
imports = [ ./hosts/${name}/configuration.nix ];
deployment = {
# SSH deployment.
targetHost = "p1st.de";
targetPort = 2222;
tags = [ "server" ];
};
};
}

View File

@ -32,7 +32,7 @@ in
#../../modules/wallpaper.nix
#../../modules/fwupd-gnome.nix
#../../modules/print-and-scan.nix
#../../modules/fde-ssh-unlock.nix
../../modules/fde-ssh-unlock.nix
#../../modules/nextcloud-integration.nix
#../../modules/gnome-config.nix

View File

@ -15,23 +15,21 @@
compression = true;
};
# local IP: 192.168.178.99
"yodaYoga" = {
hostname = "p1st.de";
#hostname = "192.168.178.99";
user = "yoda";
port = 2224;
compression = true;
};
"rootYodaYoga" = {
hostname = "p1st.de";
#hostname = "192.168.178.99";
user = "root";
port = 2224;
compression = true;
};
"unlockYodaYoga" = {
hostname = "p1st.de";
#hostname = "192.168.178.99";
user = "root";
port = 2225;
compression = true;
@ -65,18 +63,25 @@
compression = true;
};
"nas" = {
# local IP: 192.168.178.27
"yodaNas" = {
hostname = "p1st.de";
user = "yoda";
port = 2222;
compression = true;
};
"rootNas" = {
"rootYodaNas" = {
hostname = "p1st.de";
user = "root";
port = 2222;
compression = true;
};
"unlockYodaNas" = {
hostname = "p1st.de";
user = "root";
port = 2223;
compression = true;
};
};
};