stablize pathToRoot by builtins.path

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

View file

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

View file

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

View file

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

View file

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

View file

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