From 7f30f1c9d8b6b885081ad81e3fa3c6849b3f3548 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Wed, 27 Sep 2023 12:49:16 +0200 Subject: test kubernetes deployment --- machines/nixbuilder/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 machines/nixbuilder/default.nix (limited to 'machines/nixbuilder/default.nix') diff --git a/machines/nixbuilder/default.nix b/machines/nixbuilder/default.nix new file mode 100644 index 0000000..afbfa1c --- /dev/null +++ b/machines/nixbuilder/default.nix @@ -0,0 +1,24 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ./hardware-configuration.nix + ]; + + boot.tmp.cleanOnBoot = true; + zramSwap.enable = true; + networking.hostName = "cke-nix-builder"; + networking.domain = ""; + services.openssh.enable = true; + users.users.root.openssh.authorizedKeys.keys = [ + ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO2eIUtbt7RM75ThjKfUjm24QkzkzCSj7hs+GLaaxMeH cardno:12_767_512'' + ]; + + _module.args.nixinate = { + host = "10.49.214.164"; + sshUser = "audron"; + buildOn = "remote"; + substituteOnTarget = true; + hermetic = false; + }; +} -- cgit v1.2.3