summaryrefslogtreecommitdiffstats
path: root/shared/1systems/test-minimal-deploy
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-13 00:37:54 +0200
committertv <tv@krebsco.de>2017-07-13 00:37:54 +0200
commit4619fbb9c29572ba7fa810f33c13680ea4785eae (patch)
tree6d64d5a2c9f2995d599761a6da4a8027433a8846 /shared/1systems/test-minimal-deploy
parent8572b17d3075e5c923d980685df3b212a85cfe15 (diff)
parent2917aa030a7afa95bb48ba5962d6c8daece5f708 (diff)
Merge remote-tracking branch 'prism/master'
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";
+}