refactor(deploy): move deployment config into '<host>/meta.nix'
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
{
|
||||
system = "x86_64-linux";
|
||||
deployment.tags = [ "local" ];
|
||||
deployment = {
|
||||
tags = [ "local" ];
|
||||
targetHost = "";
|
||||
targetUser = "h";
|
||||
};
|
||||
role = "desktop";
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
system = "x86_64-linux";
|
||||
deployment.tags = [ "local" ];
|
||||
deployment = {
|
||||
tags = [ "local" ];
|
||||
targetHost = "";
|
||||
targetUser = "h";
|
||||
};
|
||||
role = "laptop";
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
];
|
||||
|
||||
ssh = {
|
||||
publicHostname = config.host.name;
|
||||
authorizedHosts = [
|
||||
"andromache"
|
||||
"astyanax"
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
system = "aarch64-linux";
|
||||
deployment.tags = [ "arm" ];
|
||||
deployment = {
|
||||
tags = [ "arm" ];
|
||||
targetHost = "eetion-02";
|
||||
targetUser = "h";
|
||||
};
|
||||
role = "embedded";
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
];
|
||||
|
||||
ssh = {
|
||||
publicHostname = config.host.name;
|
||||
authorizedHosts = [
|
||||
"andromache"
|
||||
"astyanax"
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
system = "aarch64-linux";
|
||||
deployment.tags = [ "arm" ];
|
||||
deployment = {
|
||||
tags = [ "arm" ];
|
||||
targetHost = "eetion";
|
||||
targetUser = "h";
|
||||
};
|
||||
role = "embedded";
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
networking.hostName = config.host.name;
|
||||
ssh = {
|
||||
publicHostname = "server.hektormisplon.xyz";
|
||||
authorizedHosts = [
|
||||
"andromache"
|
||||
"astyanax"
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
system = "x86_64-linux";
|
||||
deployment.tags = [ "cloud" ];
|
||||
deployment = {
|
||||
tags = [ "cloud" ];
|
||||
targetHost = "server.hektormisplon.xyz";
|
||||
targetUser = "username";
|
||||
};
|
||||
role = "server";
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{
|
||||
system = "x86_64-linux";
|
||||
deployment.tags = [ "local" ];
|
||||
deployment = {
|
||||
tags = [ "local" ];
|
||||
targetHost = "";
|
||||
targetUser = "h";
|
||||
};
|
||||
role = "vm";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user