mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(tahina): init
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -108,7 +108,11 @@
|
||||
in
|
||||
toString (krops.packages.${system}.writeDeploy "deploy-${name}" {
|
||||
source = krops.lib.evalSource [(source name)];
|
||||
target = "root@${host}:${toString sshPort}";
|
||||
target = "root@${host}:${
|
||||
if host == "130.61.203.118"
|
||||
then "22"
|
||||
else toString sshPort
|
||||
}";
|
||||
});
|
||||
in {
|
||||
apps.${system} = let
|
||||
@@ -119,7 +123,10 @@
|
||||
type = "app";
|
||||
program = deployScriptFor {
|
||||
inherit name;
|
||||
host = "${name}.r";
|
||||
host =
|
||||
if name == "tahina"
|
||||
then "130.61.203.118"
|
||||
else "${name}.r";
|
||||
};
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user