summaryrefslogtreecommitdiffstats
path: root/shared/1systems/test-arch
diff options
context:
space:
mode:
Diffstat (limited to 'shared/1systems/test-arch')
-rw-r--r--shared/1systems/test-arch/config.nix32
-rw-r--r--shared/1systems/test-arch/source.nix3
2 files changed, 35 insertions, 0 deletions
diff --git a/shared/1systems/test-arch/config.nix b/shared/1systems/test-arch/config.nix
new file mode 100644
index 000000000..453483d48
--- /dev/null
+++ b/shared/1systems/test-arch/config.nix
@@ -0,0 +1,32 @@
+{ config, pkgs, ... }:
+
+{
+ imports = [
+ <stockholm/shared>
+ {
+ 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;
+}
diff --git a/shared/1systems/test-arch/source.nix b/shared/1systems/test-arch/source.nix
new file mode 100644
index 000000000..ca2305684
--- /dev/null
+++ b/shared/1systems/test-arch/source.nix
@@ -0,0 +1,3 @@
+import <stockholm/shared/source.nix> {
+ name = "test-arch";
+}