mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
add yodaNas
This commit is contained in:
parent
4494517242
commit
4a015ef505
@ -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
|
||||
|
13
hive.nix
13
hive.nix
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user