diff options
| author | Max Audron <audron@cocaine.farm> | 2023-09-27 12:49:16 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2023-09-27 12:49:16 +0200 |
| commit | 7f30f1c9d8b6b885081ad81e3fa3c6849b3f3548 (patch) | |
| tree | 857bde9b44f25cb321b6d4831e6db99fba3888cb /machines/nixbuilder/default.nix | |
| parent | add secrets submodule (diff) | |
test kubernetes deployment
Diffstat (limited to 'machines/nixbuilder/default.nix')
| -rw-r--r-- | machines/nixbuilder/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
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; + }; +} |
