summaryrefslogtreecommitdiffstats
path: root/shared/1systems/test-arch.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-11-13 13:05:19 +0100
committerlassulus <lass@aidsballs.de>2015-11-13 13:05:19 +0100
commita204949071a964584bf27889277c8890ed724979 (patch)
treeab9de05e79ab92cb86f22c6972c858286a101b44 /shared/1systems/test-arch.nix
parentf8fabf4ea6f15b0c7613846e38051f83ef887933 (diff)
move testhosts to shared from lass
Diffstat (limited to 'shared/1systems/test-arch.nix')
-rw-r--r--shared/1systems/test-arch.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/shared/1systems/test-arch.nix b/shared/1systems/test-arch.nix
new file mode 100644
index 000000000..ece209490
--- /dev/null
+++ b/shared/1systems/test-arch.nix
@@ -0,0 +1,32 @@
+{ config, pkgs, ... }:
+
+{
+ imports = [
+ ../2configs/base.nix
+ {
+ boot.loader.grub = {
+ device = "/dev/sda";
+ splashImage = null;
+ };
+
+ boot.initrd.availableKernelModules = [
+ "ata_piix"
+ "vmw_pvscsi"
+ ];
+
+ fileSystems."/" = {
+ device = "/dev/sda1";
+ };
+ }
+ {
+ networking.dhcpcd.allowInterfaces = [
+ "enp*"
+ ];
+ }
+ {
+ sound.enable = false;
+ }
+ ];
+
+ krebs.build.host = config.krebs.hosts.test-arch;
+}