summaryrefslogtreecommitdiffstats
path: root/shared/1systems/test-minimal-deploy
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-11 11:26:24 +0200
committerlassulus <lassulus@lassul.us>2017-07-12 19:09:36 +0200
commit41d65979c5fa248ba787bc0702cd58e2296088d2 (patch)
tree69b03b41707bc10d89cf1a367f8060d3d700b697 /shared/1systems/test-minimal-deploy
parente5ab52e4280242507c7919dcd934dd3ba1993e5e (diff)
move source config from module system to 1systems/*/source.nix
Diffstat (limited to 'shared/1systems/test-minimal-deploy')
-rw-r--r--shared/1systems/test-minimal-deploy/config.nix16
-rw-r--r--shared/1systems/test-minimal-deploy/source.nix3
2 files changed, 19 insertions, 0 deletions
diff --git a/shared/1systems/test-minimal-deploy/config.nix b/shared/1systems/test-minimal-deploy/config.nix
new file mode 100644
index 0000000..eab7036
--- /dev/null
+++ b/shared/1systems/test-minimal-deploy/config.nix
@@ -0,0 +1,16 @@
+{ config, pkgs, lib, ... }:
+{
+ imports = [
+ <stockholm/shared>
+ ];
+ krebs = {
+ enable = true;
+ build.user = config.krebs.users.shared;
+ build.host = config.krebs.hosts.test-all-krebs-modules;
+ };
+ # just get the system to eval in nixos without errors
+ boot.loader.grub.devices = ["/dev/sda"];
+ fileSystems."/" = {
+ device = "/dev/lol";
+ };
+}
diff --git a/shared/1systems/test-minimal-deploy/source.nix b/shared/1systems/test-minimal-deploy/source.nix
new file mode 100644
index 0000000..2368cdd
--- /dev/null
+++ b/shared/1systems/test-minimal-deploy/source.nix
@@ -0,0 +1,3 @@
+import <stockholm/shared/source.nix> {
+ name = "test-minimal-deploy";
+}