mirror of
https://github.com/SebastianStork/nixos-installer.git
synced 2026-01-21 21:31:34 +01:00
Refactor
This commit is contained in:
parent
2e762023c8
commit
27346b6113
5 changed files with 38 additions and 93 deletions
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
modulesPath,
|
||||
inputs',
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ];
|
||||
|
||||
nix.settings.experimental-features = [ "pipe-operators" ];
|
||||
|
||||
networking.hostName = "installer";
|
||||
|
||||
formatAttr = "isoImage";
|
||||
fileExtension = ".iso";
|
||||
|
||||
services.openssh.enable = lib.mkForce false;
|
||||
networking.wireless.enable = false;
|
||||
|
||||
console.keyMap = "de-latin1-nodeadkeys";
|
||||
|
||||
environment.systemPackages = [ inputs'.disko.packages.default ];
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
extraUpFlags = [ "--ssh" ];
|
||||
|
||||
# Ephemeral + not pre-approved
|
||||
authKeyFile = ../tailscale-auth-key.dec;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue