aboutsummaryrefslogtreecommitdiff
path: root/machines/nixbuilder/default.nix
blob: afbfa1c999262aa9be05e53235395bb99afa32a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
  };
}