aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos-test/default.nix
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2023-08-11 16:51:35 +0200
committerMax Audron <audron@cocaine.farm>2023-08-11 16:51:35 +0200
commit5828af9fc19e18dc85e49fcc1a251a7eb25d909c (patch)
treec70c3e52237c08d3fdcb2f1269c524c25e3feeb8 /machines/nixos-test/default.nix
init
Diffstat (limited to 'machines/nixos-test/default.nix')
-rw-r--r--machines/nixos-test/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/machines/nixos-test/default.nix b/machines/nixos-test/default.nix
new file mode 100644
index 0000000..6a83e9a
--- /dev/null
+++ b/machines/nixos-test/default.nix
@@ -0,0 +1,16 @@
+{ config, lib, pkgs, ... }:
+
+{
+ imports = [
+ ./hardware-configuration.nix
+ ];
+
+ boot.cleanTmpDir = true;
+ zramSwap.enable = true;
+ networking.hostName = "default";
+ networking.domain = "";
+ services.openssh.enable = true;
+ users.users.root.openssh.authorizedKeys.keys = [
+ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO2eIUtbt7RM75ThjKfUjm24QkzkzCSj7hs+GLaaxMeH cardno:12_767_512''
+ ];
+}