testing installs on incarneron now

This commit is contained in:
TheWanderingCrow 2025-06-30 09:17:20 -04:00
parent bb156aca07
commit 3c0db47a41
3 changed files with 13 additions and 2 deletions

View file

@ -21,7 +21,7 @@
_module.args = {
disk = "/dev/nvme0n1";
withSwap = true;
swapSize = 8;
swapSize = "8";
};
}

View file

@ -5,7 +5,9 @@
modulesPath,
lib,
...
}: {
}: let
loginKey = builtins.readFile ./installer.pub;
in {
imports = [
inputs.disko.nixosModules.disko
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
@ -29,4 +31,12 @@
networkmanager.enable = true;
enableIPv6 = false;
};
users.users.nixos.openssh.authorizedKeys.keys = [loginKey];
users.users.root.openssh.authorizedKeys.keys = [loginKey];
services.openssh = {
enable = true;
openFirewall = true;
};
}

View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILitXCbWKzO56YIc3usTK1NS5M61ZNvATly06MFqb/8m nixos install