summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lass/1systems/cloudkrebs.nix13
-rw-r--r--lass/1systems/echelon.nix13
-rw-r--r--lass/1systems/mors.nix13
-rw-r--r--lass/1systems/uriel.nix12
-rw-r--r--lass/2configs/base.nix8
5 files changed, 33 insertions, 26 deletions
diff --git a/lass/1systems/cloudkrebs.nix b/lass/1systems/cloudkrebs.nix
index 7c95e0f87..5235c25e5 100644
--- a/lass/1systems/cloudkrebs.nix
+++ b/lass/1systems/cloudkrebs.nix
@@ -25,14 +25,15 @@
krebs.build = {
user = config.krebs.users.lass;
- target = "root@cloudkrebs";
host = config.krebs.hosts.cloudkrebs;
- deps = {
- secrets = {
- url = "/home/lass/secrets/${config.krebs.build.host.name}";
+ source = {
+ dir.secrets = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/secrets/${config.krebs.build.host.name}";
};
- stockholm = {
- url = toString ../..;
+ dir.stockholm = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/dev/stockholm";
};
};
};
diff --git a/lass/1systems/echelon.nix b/lass/1systems/echelon.nix
index 92976366f..d1a3f34f7 100644
--- a/lass/1systems/echelon.nix
+++ b/lass/1systems/echelon.nix
@@ -28,14 +28,15 @@ in {
krebs.build = {
user = config.krebs.users.lass;
- target = "root@${ip}";
host = config.krebs.hosts.echelon;
- deps = {
- secrets = {
- url = "/home/lass/secrets/${config.krebs.build.host.name}";
+ source = {
+ dir.secrets = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/secrets/${config.krebs.build.host.name}";
};
- stockholm = {
- url = toString ../..;
+ dir.stockholm = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/dev/stockholm";
};
};
};
diff --git a/lass/1systems/mors.nix b/lass/1systems/mors.nix
index de5e824c4..9d234f14b 100644
--- a/lass/1systems/mors.nix
+++ b/lass/1systems/mors.nix
@@ -27,14 +27,15 @@
krebs.build = {
user = config.krebs.users.lass;
- target = "root@mors";
host = config.krebs.hosts.mors;
- deps = {
- secrets = {
- url = "/home/lass/secrets/${config.krebs.build.host.name}";
+ source = {
+ dir.secrets = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/secrets/${config.krebs.build.host.name}";
};
- stockholm = {
- url = toString ../..;
+ dir.stockholm = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/dev/stockholm";
};
};
};
diff --git a/lass/1systems/uriel.nix b/lass/1systems/uriel.nix
index bb98975e4..9d96e7814 100644
--- a/lass/1systems/uriel.nix
+++ b/lass/1systems/uriel.nix
@@ -27,12 +27,14 @@ with builtins;
user = config.krebs.users.lass;
target = "root@uriel";
host = config.krebs.hosts.uriel;
- deps = {
- secrets = {
- url = "/home/lass/secrets/${config.krebs.build.host.name}";
+ source = {
+ dir.secrets = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/secrets/${config.krebs.build.host.name}";
};
- stockholm = {
- url = toString ../..;
+ dir.stockholm = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/dev/stockholm";
};
};
};
diff --git a/lass/2configs/base.nix b/lass/2configs/base.nix
index 6cdeab1b9..46435649b 100644
--- a/lass/2configs/base.nix
+++ b/lass/2configs/base.nix
@@ -42,9 +42,11 @@ with lib;
enable = true;
search-domain = "retiolum";
exim-retiolum.enable = true;
- build.deps.nixpkgs = {
- url = https://github.com/Lassulus/nixpkgs;
- rev = "68bd8e4a9dc247726ae89cc8739574261718e328";
+ build.source = {
+ git.nixpkgs = {
+ url = https://github.com/Lassulus/nixpkgs;
+ rev = "68bd8e4a9dc247726ae89cc8739574261718e328";
+ };
};
};