feat: add nix server provision
This commit is contained in:
23
pkgs/helpers/templates/configuration.nix.tmpl
Normal file
23
pkgs/helpers/templates/configuration.nix.tmpl
Normal file
@@ -0,0 +1,23 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
# Generated by nodeiwest host init.
|
||||
imports = [
|
||||
./disko.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostName = "@@HOST_NAME@@";
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
time.timeZone = "@@TIMEZONE@@";
|
||||
|
||||
@@BOOT_LOADER_BLOCK@@
|
||||
|
||||
nodeiwest.ssh.userCAPublicKeys = @@SSH_CA_KEYS@@;
|
||||
|
||||
nodeiwest.tailscale.openbao = {
|
||||
enable = @@TAILSCALE_OPENBAO_ENABLE@@;
|
||||
};
|
||||
|
||||
system.stateVersion = "@@STATE_VERSION@@";
|
||||
}
|
||||
Reference in New Issue
Block a user