This commit is contained in:
SebastianStork 2025-05-10 20:20:49 +02:00
parent 2e762023c8
commit 27346b6113
5 changed files with 38 additions and 93 deletions

29
configuration.nix Normal file
View file

@ -0,0 +1,29 @@
{
inputs,
pkgs,
lib,
...
}:
{
nix.settings.experimental-features = [ "pipe-operators" ];
networking.hostName = "installer";
console.keyMap = "de-latin1-nodeadkeys";
services.openssh.enable = lib.mkForce false;
networking.wireless.enable = false;
networking.networkmanager.enable = true;
environment.systemPackages = [ inputs.disko.packages.${pkgs.system}.default ];
services.tailscale = {
enable = true;
openFirewall = true;
extraUpFlags = [ "--ssh" ];
# Ephemeral + not pre-approved
authKeyFile = ./tailscale-auth-key.dec;
};
}