diff options
author | tv <tv@krebsco.de> | 2017-07-13 00:37:54 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-07-13 00:37:54 +0200 |
commit | 4619fbb9c29572ba7fa810f33c13680ea4785eae (patch) | |
tree | 6d64d5a2c9f2995d599761a6da4a8027433a8846 /shared/1systems/test-arch | |
parent | 8572b17d3075e5c923d980685df3b212a85cfe15 (diff) | |
parent | 2917aa030a7afa95bb48ba5962d6c8daece5f708 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'shared/1systems/test-arch')
-rw-r--r-- | shared/1systems/test-arch/config.nix | 32 | ||||
-rw-r--r-- | shared/1systems/test-arch/source.nix | 3 |
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 0000000..453483d --- /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 0000000..ca23056 --- /dev/null +++ b/shared/1systems/test-arch/source.nix @@ -0,0 +1,3 @@ +import <stockholm/shared/source.nix> { + name = "test-arch"; +} |