1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

chore(flake): unify naming

This commit is contained in:
2021-12-31 16:26:30 +01:00
parent e800cca766
commit 12cd6230fe

View File

@@ -87,11 +87,11 @@
in {
apps.${system} = let
forSystems = f: builtins.listToAttrs (map f (builtins.attrNames (builtins.readDir ./systems)));
deployScripts = forSystems (system: {
name = "deploy-${system}";
deployScripts = forSystems (name: {
name = "deploy-${name}";
value = {
type = "app";
program = deployScriptFor { name = system; host = "${system}.r"; };
program = deployScriptFor { inherit name; host = "${system}.r"; };
};
});
ciScripts = forSystems (name: {