From 5828af9fc19e18dc85e49fcc1a251a7eb25d909c Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 11 Aug 2023 16:51:35 +0200 Subject: init --- machines/nixos-test/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 machines/nixos-test/default.nix (limited to 'machines/nixos-test/default.nix') 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'' + ]; +} -- cgit v1.2.3