stablize pathToRoot by builtins.path

This commit is contained in:
Kiara Grouwstra 2025-08-31 11:05:23 +02:00
parent 12c51f1d11
commit 83f18411e8
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
5 changed files with 26 additions and 10 deletions

View file

@ -3,7 +3,10 @@
"hello" "hello"
"cowsay" "cowsay"
]; ];
pathToRoot = ../../..; pathToRoot = builtins.path {
pathFromRoot = ./.; path = ../../..;
name = "root";
};
pathFromRoot = "/deployment/check/data-model-ssh";
useFlake = true; useFlake = true;
} }

View file

@ -5,8 +5,11 @@
"peertube" "peertube"
"pixelfed" "pixelfed"
]; ];
pathToRoot = ../../..; pathToRoot = builtins.path {
pathFromRoot = ./.; path = ../../..;
name = "root";
};
pathFromRoot = "/deployment/check/data-model-ssh";
enableAcme = true; enableAcme = true;
useFlake = true; useFlake = true;
} }

View file

@ -2,8 +2,11 @@
targetMachines = [ targetMachines = [
"nixops4" "nixops4"
]; ];
pathToRoot = ../../..; pathToRoot = builtins.path {
pathFromRoot = ./.; path = ../../..;
name = "root";
};
pathFromRoot = "/deployment/check/data-model-ssh";
enableAcme = true; enableAcme = true;
useFlake = true; useFlake = true;
} }

View file

@ -2,7 +2,11 @@
targetMachines = [ targetMachines = [
"ssh" "ssh"
]; ];
pathToRoot = ../../..; # stablize path, as just the path would yield distinct paths when applied multiple times
pathFromRoot = ./.; pathToRoot = builtins.path {
path = ../../..;
name = "root";
};
pathFromRoot = "/deployment/check/data-model-ssh";
enableAcme = true; enableAcme = true;
} }

View file

@ -5,8 +5,11 @@
"peertube" "peertube"
"pixelfed" "pixelfed"
]; ];
pathToRoot = ../../..; pathToRoot = builtins.path {
pathFromRoot = ./.; path = ../../..;
name = "root";
};
pathFromRoot = "/deployment/check/data-model-ssh";
enableAcme = true; enableAcme = true;
useFlake = true; useFlake = true;
} }