about summary refs log tree commit diff
path: root/nixos/modules/ec2.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-11-01 19:42:08 +0900
committersefidel <contact@sefidel.net>2022-11-01 19:48:49 +0900
commitfcf9efa0fddddf7a268ab32d08d69e9eefebc7f8 (patch)
tree279d5f0670bea0a86d6b06b32cd845148c5a9e2c /nixos/modules/ec2.nix
parentfbcbb013191ef7c8a1f266b6da330ae2bd3f5b77 (diff)
downloadnixrc-fcf9efa0fddddf7a268ab32d08d69e9eefebc7f8.tar.gz
nixrc-fcf9efa0fddddf7a268ab32d08d69e9eefebc7f8.zip
feat(nixos/selenium): ec2 instance
Diffstat (limited to 'nixos/modules/ec2.nix')
-rw-r--r--nixos/modules/ec2.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/modules/ec2.nix b/nixos/modules/ec2.nix
new file mode 100644
index 0000000..45f3cd8
--- /dev/null
+++ b/nixos/modules/ec2.nix
@@ -0,0 +1,9 @@
+{ modulesPath, config, lib, ... }:
+
+{
+  # AWS EC2-specific tweaks
+  imports = [
+    "${modulesPath}/virtualisation/amazon-image.nix"
+  ];
+  ec2.hvm = true;
+}