summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-19 14:00:15 +0200
committerlassulus <lass@aidsballs.de>2015-10-19 14:00:15 +0200
commit1d4f2bf01131d90e370bb8da2d5023aeaacf0b1d (patch)
treef64ff37890a851865c52db9a6a08aa2b1943f7c4 /lass/2configs
parent35b476288acce3810bb3ccba0a43dca3ebc094b5 (diff)
l: move more config to base.nix
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/base.nix22
1 files changed, 18 insertions, 4 deletions
diff --git a/lass/2configs/base.nix b/lass/2configs/base.nix
index f313054d9..2e42f86ae 100644
--- a/lass/2configs/base.nix
+++ b/lass/2configs/base.nix
@@ -38,14 +38,28 @@ with lib;
}
];
+ networking.hostName = config.krebs.build.host.name;
+ nix.maxJobs = config.krebs.build.host.cores;
+
krebs = {
enable = true;
search-domain = "retiolum";
exim-retiolum.enable = true;
- build.source = {
- git.nixpkgs = {
- url = https://github.com/Lassulus/nixpkgs;
- rev = "b9270a2e8ac3d2cf4c95075a9529528aa1d859da";
+ build = {
+ user = config.krebs.users.lass;
+ source = {
+ git.nixpkgs = {
+ url = https://github.com/Lassulus/nixpkgs;
+ rev = "b9270a2e8ac3d2cf4c95075a9529528aa1d859da";
+ };
+ dir.secrets = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/secrets/${config.krebs.build.host.name}";
+ };
+ dir.stockholm = {
+ host = config.krebs.hosts.mors;
+ path = "/home/lass/stockholm";
+ };
};
};
};